-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning Pattern ["buffer@^6.0.3"] is trying to unpack in the same destination #61
Comments
Did some digging into the history of this package, looks like there was a similar issue with vite-plugin-node-polyfills/shims/index.ts Lines 5 to 9 in bfb5290
Although I don't know if there is an actual runtime issue due to the buffer warning. Potential workaround to get rid of the warning is to add custom resolution to install to different versions of buffer package, the only updates in 6.0.3 are type related (feross/buffer#277) so I don't expect problems "resolutions": {
"buffer-polyfill": "npm:[email protected]"
} I am still curious, I haven't seen this before. Why is the renaming of the buffer package to buffer-polyfill required? "dependencies": {
"buffer-polyfill": "npm:buffer@^6.0.3",
} |
Thanks @davidmyersdev for addressing this so quickly. We have updated the plugin to latest version and all warnings are resolved 🎉 |
Getting the following warning due to using this package
likely related to
vite-plugin-node-polyfills/package.json
Line 73 in bfb5290
The text was updated successfully, but these errors were encountered: