I installed node js latest version (8.8.1) and latest npm (5.5.1) and when I try to install node-sass, I get the following:
npm install -g node-sass
C: \ Users \ Giannis \ AppData \ Roaming \ npm \ node-sass → C: \ Users \ Giannis \ AppData \ Roaming \ npm \ node_modules \ node-sass \ bin \ node-sass
node -sass@4.5.3 install C: \ Users \ Giannis \ AppData \ Roaming \ npm \ node_modules \ node -sass node scripts / install.js
'node' is not recognized as an internal or external command, operating program, or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node -sass@4.5.3 set: node scripts/install.js
npm the ERR! Release Status 1 npm ERR! npm ERR! Failed to install node-sass@4.5.3 script. npm ERR! This is probably not a problem with npm. There is probably an additional way out of the journal.
npm ERR! The full log of this run can be found in: npm ERR! C: \ Users \ Giannis \ AppData \ Roaming \ NPM-cache_logs \ 2017-10-26T11_57_10_751Z-debug.log
I set the system variable C: \ Program Files \ nodejs \
thank
source
share