Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm installing results in an UNMET PEER DEPENDENCY error

See original GitHub issue

npm installing results in an UNMET PEER DEPENDENCY grunt@~0.4.1 error:

├─┬ angular-google-places-autocomplete@0.2.7  (git+ssh://
│ ├── UNMET PEER DEPENDENCY grunt@~0.4.1
│ └─┬ grunt-contrib-cssmin@0.10.0 
│   ├─┬ clean-css@2.2.23 
│   │ └── commander@2.2.0 
│   └─┬ maxmin@0.2.2 
│     ├─┬ chalk@0.5.1 
│     │ ├── ansi-styles@1.1.0 
│     │ ├─┬ has-ansi@0.1.0 
│     │ │ └── ansi-regex@0.2.1 
│     │ ├── strip-ansi@0.3.0 
│     │ └── supports-color@0.2.0 
│     ├── gzip-size@0.2.0 
│     └── pretty-bytes@0.1.2 

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

laurence-myerscommented, Oct 24, 2017

For posterity, here’s how we resolved it:

The NPM package is actually a fork, from here, by user twaite.

The fix requires altering package.json and moving “grunt-contrib-cssmin” to a dev dependency.

Here’s a commit showing how we fixed it.

IgorKurkovcommented, Jun 21, 2019

yeah sure! 😃 Old applications cause a lot of problems. Thank you for your fix, I already forked it for freezing this case by using npm i <username>/<githubrepo>#<branch> directly

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix the npm UNMET PEER DEPENDENCY warning?
UNMET PEER DEPENDENCY error is thrown when the dependencies of one or more modules specified in the package.json file is not met.
Read more >
NPM unmet peer dependency on every package i try to install ...
I just ran: npm install typescript. to install the latest and now I don't see that peer package error. You could also install...
Read more >
if you don't want pnpm to fail on peer dependency issues, add ...
Peer dependencies are resolved from dependencies installed higher in the dependency graph, since they share the same version as their parent. That means...
Read more >
unmet peer dependencies? #4721 - angular/angular-cli - GitHub
It doesn't seem like it caused an error in the npm install, but should I be concerned about the WARN messages resulting from...
Read more >
you must install peer dependencies yourself -
Does npm have unmet Peer dependency? ... Because npm no longer instals peer dependencies, you must manually instal them. Simply run npm instal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found