I'm getting this error:
Node Sass could not find a binding for your current environment: Windows 32-bit with Node.js 5.x
Found bindings for the following environments:
npm install.npm rebuild node-sass to build the binding for your current environment.so I run the suggested command:
C:_joe__projects_joeaudettecom\joeaudette.com\src\joeaudette.com>npm rebuild node-sass
[email protected] install C:_joe__projects_joeaudettecom\joeaudette.com\src\joeaudette.com\node_modules\gulp-sass\node_modules\node-sass
node scripts/install.js[email protected] postinstall C:_joe__projects_joeaudettecom\joeaudette.com\src\joeaudette.com\node_modules\gulp-sass\node_modules\node-s
ass
node scripts/build.js
"C:_joe__projects_joeaudettecom\joeaudette.com\src\joeaudette.com\node_modules\gulp-sass\node_modules\node-sass\vendor\win32-ia32-14bind
ing.node" exists.
testing binary.
Binary is fine; exiting.
[email protected] C:_joe__projects_joeaudettecom\joeaudette.com\src\joeaudette.com\node_modules\gulp-sass\node_modules\node-sass
but the error remains
I'm using Visual Studio 2015 if that matters, I'm really trying to use gulp-sass which I guess depends on node-sass
my OS is Windows 10 64 bit which makes me think it is using the wrong binding
I thought maybe I should download a 64 bit windows version but when I look at the release downloads there are so many of them and I have no clue which one I should try or if I should try to use one of those at all.
any help or insights appreciated
after much googling I think the problem was I ran npm install from the command prompt rather than from visual studio package manager console. after deleting the node_modules folder and letting visual studio restore them I got a different error about gulp-sourcemaps, then I ran npm install gulp-sourcemaps from the visual studio package manager console and now there are no more errors
https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md#using-node-sass-with-visual-studio-2015-task-runner
Most helpful comment
after much googling I think the problem was I ran npm install from the command prompt rather than from visual studio package manager console. after deleting the node_modules folder and letting visual studio restore them I got a different error about gulp-sourcemaps, then I ran npm install gulp-sourcemaps from the visual studio package manager console and now there are no more errors