You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having an issue when trying to hook up sass to my .net project using gulp. I've installed node-sass via dependency on gulp-sass.
my gulpfile.js currently consists of:
var gulp = require("gulp"),
sass = require("gulp-sass");
gulp.task("sass", function () {
return gulp.src('wwwroot/*.scss')
.pipe(sass())
.pipe(gulp.dest('wwwroot/css'));
});
But any time I try to view my tasks, it makes this error:
Error: Missing binding [project]\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 8.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
at module.exports ([project]\node_modules\node-sass\lib\binding.js:15:13)
at Object.<anonymous> ([project]\node_modules\node-sass\lib\index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> ([project]\node_modules\gulp-sass\index.js:162:21)
It looks like it's assuming I'm using node 10, but as you can see below, I'm running node 8. I've tried running npm rebuild node-sass to no avail.
I saw this issues - #2460 and #2536 - but wasn't really able to glean anything useful from them.
Having an issue when trying to hook up sass to my .net project using gulp. I've installed node-sass via dependency on gulp-sass.
my gulpfile.js currently consists of:
But any time I try to view my tasks, it makes this error:
It looks like it's assuming I'm using node 10, but as you can see below, I'm running node 8. I've tried running
npm rebuild node-sass
to no avail.I saw this issues - #2460 and #2536 - but wasn't really able to glean anything useful from them.
Any help would be appreciated, thanks!
npm -v
):6.7.0
node -v
):8.11.3
node -p process.versions
):node -p process.platform
):win32
node -p process.arch
):x64
node -p "require('node-sass').info"
):npm ls node-sass
):The text was updated successfully, but these errors were encountered: