I get this error when running npm installin a project. More information on this issue below.
npm install
npm ERR! node-sass@0.9.6 install: `node build.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@0.9.6 install script 'node build.js'. npm ERR! This is most likely a problem with the node-sass package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build.js npm ERR! You can get their info via: npm ERR! npm owner ls node-sass npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/capricornus/Projects/aware-app/npm-debug.log
It looks like this version is no longer compatible. I get the same errors on my system. Either you need to downgrade the node version to a supported version, or update the dependencies you require node-sass@0.9.6.
node-sass@0.9.6
The latest version of node-sass is 3.4.2.
Just install an obsolete version of Nodejs with nodebrew.
curl -L git.io/nodebrew | perl - setup
Add the following to ~ / .bashrc
export PATH=$HOME/.nodebrew/current/bin:$PATH
Update console
source ~/.bashrc
nodebrew install-binary v0.12.7 nodebrew use v0.12.7
!
node -sass@0.9.6 install script 'node build.js'
, - nodebrew, nvm (node ), node. Github
OSX El Capitan :
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash . ~/.nvm/nvm.sh
, github.
Yosuke Sato, v0.12.7 node -sass@0.9.6,
nvm install v0.12.7 or nvm use v0.12.7 (if you have it installed already)
node, /.
nvm use v0.12.7in the project directory, which follows npm install, solved the problem for me - an error occurred when I tried to set up broccoli-tacos, a static site generator. Thanks for the tip, I'm glad I ruined you.
nvm use v0.12.7
Source: https://habr.com/ru/post/1622083/More articles:Multiple request not executed - phpМожет ли динамически изменяться? - openerpwrapping a boolean array should go through int (numpy 1.8.2) - pythonIs there a built-in bitrate similar to std :: bitset from C ++? - pythonHow to disable data.table names below? - rBitwise operations in a class inheriting int - pythonunit of measure nativescript css - cssLink to the Siberian Yaml dictionary - yamlVideoView does not fill the layout - androidSave column names from data.frame in output table in sql-server-2016 - sql-serverAll Articles