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
Error: Can't walk dependency graph if a dependency has the same name like node builtin #1986
Comments
In that case, |
I test few versions from Running browserify 16.5.1 works fine while 16.5.2 not. Is this expected? Is this new? Reading https://github.com/browserify/browserify/releases I could not see any big changes. Pin Looks like #1973 introduce a bc breaking change which released as patch version. |
Certainly this may be a breaking change, but I think this may also be a bugfix. |
In that case, setting Edit: After test above, the setting does not work anymore, no matter if I set |
The current workaround is to place a file called In my case, put
is good enough here. In other situations, a full process shim is may required. -> https://www.npmjs.com/package/process |
Ref: cisco/node-jose#301
A 3rd party library of our application using a process shim. https://www.npmjs.com/package/process
If found, browserify raise an error that the module or file can't not be find:
For some reasons, browserify is looking on top level directory instead node_modules.
How to reprocde:
npm install process
const process = require('process')
npx browserify index.js
The text was updated successfully, but these errors were encountered: