-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 in Browser for newer version #639
Comments
Hi, C:\\Users\\bob\\PROJECTS\\xyz\\abc\\node_modules\\browserify\\node_modules\\insert-module-globals\\node_modules\\process\\browser.js If I manually remove extra backslashes, then it works OK. Using version 3.28.0. Please help. thanks |
Same problem happened to us today, same config (OS, node and browserify versions), same "manual fix" (removing extra backslashes). |
insert-module-globals does this: var processModulePath = require.resolve('process/browser.js'); return 'require(' + JSON.stringify(processModulePath) + ')'; |
Was it doing this before ? If so, how come it's not working now when it was working before ? |
I don't have a good way to reproduce this since I'm on a linux laptop, so it's up to somebody on windows to send a patch! |
Should be fine with the newest version of mine (0.0.2), I think this can be closed. |
Closing since creationix/mine#3 was merged. |
We are using Windows 7 x64 and version 0.10 of node.js
I was using an older version of Browserify (3.20.0) and successfully compiled our project.
However, my teammates installed the newest version (3.24.13) and the project compiles but when we try to run it in a browser we get the following error message:
Error: Cannot find module 'c:\Users\Martin Wickham\AppData\Roaming\npm\node_modules\browserify\node_modules\insert-module-globals\node_modules\process\browser.js'
The text was updated successfully, but these errors were encountered: