diagnostic information
April 6, 2015 ยท View on GitHub
mkdir \temp1 cd \temp1
diagnostic information
npm -v
node -v
node -p process.versions
node -p process.platform
node -p process.arch
installation
npm install node-sass
if installed successfully
.\node_modules.bin\node-sass --version
if version is < 3.0.0
node -p "console.log(require('node-sass').info())"
if version is > 3.0.0
node -p "console.log(require('node-sass').info)"
else if it fails
cd node_modules\node-sass\vendor
delete win\binding.node file and
download the appropriate file in that directory manually from:
https://github.com/sass/node-sass-binaries/
(for instance: https://github.com/sass/node-sass-binaries/tree/v2.1.1)
node -p "console.log(require('node-sass').info"
once this is done, delete temp1
rmdir /s/q \temp1
or if you were using powershell
rm -r \temp1