question-mark
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 install node-sass fails with "No compatible version found"

See original GitHub issue

I get the same error for both, npm install node-sass and npm install node-sass@latest

$ npm i node-sass@latest
npm ERR! Darwin 15.3.0
npm ERR! argv "/Users/gregor/.nvm/versions/node/v4.2.2/bin/node" "/Users/gregor/.nvm/versions/node/v4.2.2/bin/npm" "i" "node-sass@latest"
npm ERR! node v4.2.2
npm ERR! npm  v3.5.2

npm ERR! No compatible version found: node-sass@latest
npm ERR! Valid install targets:
npm ERR! 3.5.0-beta.1, 3.4.2, 3.4.1, 3.4.0, 3.4.0-beta1, 3.4.0-beta.2, 3.3.3, 3.3.2, 3.3.1, 3.3.0, 3.2.0, 3.1.2, 3.1.1, 3.1.0, 3.0.0, 3.0.0-beta.7, 3.0.0-beta.5, 3.0.0-beta.4, 3.0.0-beta.3, 3.0.0-beta.2, 3.0.0-alpha.0, 2.1.1, 2.1.0, 2.0.1, 2.0.0, 2.0.0-beta, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1.0, 1.0.3, 1.0.2, 1.0.2-alpha, 1.0.1, 1.0.0, 0.9.6, 0.9.5, 0.9.5-rc1, 0.9.4, 0.9.4-rc1, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.8.6, 0.8.5, 0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.8.0, 0.7.0, 0.7.0-alpha, 0.6.7, 0.6.6, 0.6.5, 0.6.4, 0.6.3, 0.6.2, 0.6.1, 0.6.0, 0.5.4, 0.5.3, 0.5.2, 0.5.1, 0.5.0, 0.4.4, 0.4.3, 0.4.2, 0.4.1, 0.4.0, 0.3.0, 0.2.6, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /private/tmp/npm-debug.log

Outputh with loglevel=silly: https://gist.github.com/f11dfb3b2c3e2b04d480

The issue does not occur when using the standard registry (npm set registry https://registry.npmjs.org).

This works: npm install node-sass@3.4.2

I’ve updated local-npm to the latest version

$ local-npm --version
1.5.7

All packages are synced (Replicating skimdb, last_seq is: 768417 (100%))

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
nolanlawsoncommented, Apr 20, 2016

Closing as duplicate of #79. This may be a bug in PouchDB actually. I’ve run into the same thing, looking to update PouchDB to fix.

0reactions
gr2mcommented, Apr 19, 2016

Why does it not do the same for when a version is missing locally, but yet available in the public registry

You mean “why doesn’t”? Sounds like a good addition to me, CouchDB’s maybe send a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error with node-sass when running npm install - Stack Overflow
1. Best answer - I was frustrated at every project with node-sass' exhausting installation process. · npm i node-sass worked fine when ...
Read more >
Node Sass version 6.0.0 is incompatible with ^4.0.0 || ^5.0.0.
Running into the same issue. I can't install new dependencies until I update electron, once I updated electron during the install node-sass ......
Read more >
node-sass - npm
Latest version: 8.0.0, last published: 2 months ago. Start using node-sass in your project by running `npm i node-sass`.
Read more >
Cannot find module 'node-sass' error | bobbyhadz
Make sure to restart your IDE and dev server if the error persists. · You have to make sure that you are installing...
Read more >
Node Sass does not yet support your current environment
This problem happens because the version of node-sass that you have installed is no longer compatible with the version of node you are ......
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found