Comments (3)
Browserify is not a dependency. It's a peer dependency. Browserify calls browserify-shim, not the other way around. Why don't you have it installed?
from browserify-shim.
@bendrucker, I appreciate your reply.
In my case, I use [email protected] as a dependency, and [email protected] uses mux.js, and mux.js uses [email protected].
Actually I didn't add browserify and browserify-shim to my project package.json because I dont't need them.
It seems that mux.js should add 'browserify' to its 'dependencies'.(Well, I am not pretty sure...)
I am not familiar with browserify and browserify-shim, this time I'll manually add 'browserify' to my project package.json to solve this problem.
from browserify-shim.
Sounds like mux.js expects to be built with browserify. Either way you can add browserify to your dependencies.
from browserify-shim.
Related Issues (20)
- Only works if package.json in same directory as JS? HOT 1
- best practice for using browserify-shim in a dependency of a dependency HOT 2
- Shim modules that use undeclared variables in the global scope HOT 1
- Shimming Facebook SDK HOT 1
- Usage without package.json HOT 4
- Peer [email protected] wants browserify@>= 2.3.0 < 14 HOT 2
- Doesn't work with jQuery plugins HOT 6
- Calling two functions in the same javascript file HOT 1
- browserify-shim export error HOT 1
- depends paths are local HOT 1
- Exposing global variable don't prevent from importing the library HOT 2
- Incompatible with npm link or yarn link HOT 4
- IDE cannot resolve imported local file HOT 2
- Deprecation warnings: Invalid 'main' field of 'find-parent-dir.js'.
- CVE-2022-37617/ Prototype pollution found in resolve-shims.js HOT 4
- CVE-2022-37621/ Prototype pollution found in resolve-shims.js HOT 3
- CVE-2022-37623 / Prototype pollution vulnerability found in resolve-shims.js HOT 1
- update to a maintained `through`? HOT 3
- Support browserify `>= 16`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browserify-shim.