UNMET PEER DEPENDENCY webpack@2.2.0-rc.3
See original GitHub issueWhen I try to install laravel-mix via
npm install laravel-mix --save-dev
I always get the following error message:
UNMET PEER DEPENDENCY webpack@2.2.0-rc.3
and at the bottom:
npm WARN extract-text-webpack-plugin@2.0.0-beta.4 requires a peer of webpack@^2.1.0-beta.19 but none was installed. npm WARN webpack-dev-server@2.1.0-beta.12 requires a peer of webpack@^2.1.0-beta.26 but none was installed.
I run this in a fresh installation of Homestead and got into the vm via vagrant ssh
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
UNMET PEER DEPENDENCY webpack@2.2.0-rc.3
Create a free Team Why Teams? ... Stack Overflow for Teams is moving to its own domain! When the migration is complete, you...
Read more >UNMET PEER DEPENDENCY webpack@2.2.0-rc.3 · Issue #69
When I try to install laravel-mix via npm install laravel-mix --save-dev I always get the following error message: UNMET PEER DEPENDENCY ...
Read more >Nodejs build - out of memory - Render community
Hey when I'm deploying my app I keep getting an out of memory error? May 14 02:28:54 PM ==> Detected Node version 12.22.1...
Read more >@yarnpkg/doctor - npm
By making sure all dependencies are listed in the package.json pnp can make your project less brittle. no unmet peer dependencies. This rule ......
Read more >Understanding Peer Dependencies in JavaScript
When to use peerDependencies? Peer dependencies really come into play when you're developing code that will be used by others, such as plugins ......
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
Yeah, I’d nuke the node_modules directory and try again.
@QWp6t This is some kind of circular dependency. I had to fix it like this:
Otherwise, I couldn’t use features like HMR because
npm install -g webpack web-dev-server
gives mewebpack
version 1.xSpent like
8 hours
trying to understand why HMR was not working and it becauselaravel-mix
doesn’t installwebpack
and it’s dependencies correctly (installswebpack
version 1.x for me on Ubuntu 16.04 by default usingnpm install -g webpack web-dev-server
, but HMR doesn’t actually update Vue modules). From the user standpoint, I don’t want even care about the dependency packages, but without these packages, it’s impossible to use the feature properly and I don’t understand why it’s not actually required.