im a new beginner in html/css development with windows 10. I'm trying to use Saas for my website project but when I am trying to install node-sass, I get the following errors:
PS C:\wamp64\www\flexbox> npm install node-saas --save-dev
npm ERR! code E404
npm ERR! 404 Not Found: node-saas#latest
npm version is : 6.3.0
node version is : 8.11.3
I've already try this: Unable to install node-sass in my project but it doesn't work.
I'v try to open cmd as administrator, and try executing the same commands. Same problem again...
Can you please help me to find a solution ? Thanks !
You're installing node-saas. You meant to install node-sass, double s and a single a.
Related
Hey so i just recently started learning Nestjs and I was asked to setup the environment on my Chromebook(Linux terminal). All packages have been successfully installed except a package #nesjs/core. I've tried running the command to install the package npm install #nestjs/core but anytime i run the command it keeps giving me this error:
npm ERR! Invalid Version:
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jefferson/.npm/_logs/2022-07-09T07_13_30_344Z-debug-0.log
So far I've tried changing my version of npm to version 6.2.0, deleting and reinstalling nodejs and npm but there's been no positive result.
Please what else should I try doing
If your Node version is very recent, try downgrading. Stable version 14.16.1 worked.
I have the NodeJS LTS v14.15.0 installed on my Windows 10. I have npm 5.5.1. I am trying to install Underscore via the command prompt npm i underscore. I keep getting the message "npm does not support Node.js v14.15.0".
I have tried to reinstall NodeJS, expecting to have the newest version of npm installed along with it, but I keep getting 5.5.1. I have tried running npm install -g npm, but keep getting the same error "npm does not support Node.js v14.15.0". Not sure what else to do. I am new to NodeJS. Can anyone help with this?
Try to uninstall npm
npm uninstall -g npm
and then reinstall NodeJs.
I tried to create a new NodeJs project, when i ran "npm init" the package.json was created successfully but when I tried to run "npm install express" it showed "npm ERR! code ERR_OUT_OF_RANGE". I am not able to run npm install without getting this error.
I tried to install other packages, i tried sudo, and I removed npm/node and reinstalled nvm/node but it is still the same.
Thank you for your help !
npm install express
npm ERR! code ERR_OUT_OF_RANGE
npm ERR! The value of "err" is out of range. It must be a negative integer. Received 536870212
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/me/.npm/_logs/2019-09-18T14_49_07_222Z-debug.log
The issue is a mismatch between your versions of Node and NPM.
This can occur when one is updated without the other.
To prevent these issues, use nvm to manage your Node version:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
# Example: Selecting Node v13
# For complete list of available versions run `nvm ls-remote`
nvm install 13
nvm use 13
This will select matching versions of Node and NPM.
This error was caused by a the most recent version of node which was 12.10.0, when I installed and used the 10.16.0 version of node, the error was gone.
i ran into something very similar with react native - metro and it seems I just had to deactivate my firewall LULU.
Hello all I am new to aurelia js . I installed aurelia js through command line using npm install aurelia-cli -g command successfully.
After successful installation , I created one project using command au new , But when I am installing dependencies using command npm install I am getting error as below.
npm ERR! Unexpected end of JSON input while parsing near '...0.1.10"},"devDependen'.
Also I tried it after updating node version but nothing works. I am using below version of node and npm in windows
Node : 10.16.3
NPM : 6.9.0
Any help is appreciated.
This sometimes happens with CLI driven generators. Try the following:
npm cache clean --force
Then:
npm i aurelia-cli -g
You may need to reinitialise your Aurelia Application after doing this.
To further clarify, if the above doesn't work could you post a link to your package.json in a pastebin?
I was unable to install electron in my system (was getting postinstall error). So I thought let me uninstall and reinstall node and npm. I tried this gist and couldnt install npm - that erred out. So I went to node js website and downloaded versions: node 8.9.0 & npm 5.6.0. While I now have node and npm back, no npm installation works without a sudo. Funny thing, I get the same electron installation error. I tried fixing the sudo problem using this link but no help. Please advise!
Screenshot of the npm error:
Screenshot of the electron installation error: