rollup-plugin-polyfill-node icon indicating copy to clipboard operation
rollup-plugin-polyfill-node copied to clipboard

bug: Failed to resolve module specifier "buffer"

Open mburger81 opened this issue 2 years ago • 1 comments

We use your polyfill to make a crypto app using stenciljs which use under the hood rollup bundler.

It seems we are able to setup the polyfill in the configuration file but at the end we run into this error Failed to resolve module specifier "buffer". Relative references must start with either "/", "./", or "../". undefined

It's not possible to check which library is running into this issue, but it seems the reference of the package is wrong. Idk with its a thing should do the rollup-plugin-polyfill-nodeplugin or if we have to do something special to get it work

like an alias

mburger81 avatar Jul 28 '22 11:07 mburger81

I faced the same problem with buffer not being resolved on a react app, did you manage to resolve ?

odcey avatar Sep 27 '22 13:09 odcey