browserify-shim as a dependency?
See original GitHub issueWhen installing through npm, importing the module and building I received the error Error: Cannot find module 'browserify-shim' from...
I’m not sure why this would be required but perhaps it needs to be moved from devDependencies to dependencies? I installed browserify-shim
myself and It started building fine.
Maybe something on my end is messed up but I thought I’d add it here just in case. Thoughts?
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
browserify-shim - npm
1. Install browserify-shim dependency · 2. Register browserify-shim as a transform with browserify · 3. Provide browserify-shim config.
Read more >Shimming dependencies of dependencies with browserify-shim
I'm trying to refactor a library that uses Browserify by shimming certain modules out of the bundle using browserify-shim. Specifically, the library uses ......
Read more >browserify-shim-dependency - npm package | Snyk
The npm package browserify-shim-dependency receives a total of 1 weekly downloads. As such, browserify-shim-dependency popularity was classified as limited.
Read more >Shimming dependencies of dependencies when working with ...
An explanation of how one can make browserify built Javascript files utilise globally defined dependencies within child dependencies.
Read more >Gulp and browserify-shim. faster builds and more tooling
The goal is to automate as much as we can, keeping our builds and non-NPM dependencies easy to maintain and update. If you've...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I faced the same issue, except even after installing browserify-shim I got the error
Label.js:74 Uncaught TypeError: Cannot read property 'Component' of undefined
, and am not sure how to solve that.I also ran into the same problem as @rohandas. Getting
browserify-shim
to work proved to be too daunting, so I’m uninstalling this and moving to another solution. I’ll use this solution on other projects, just not this one.