Monday, February 16, 2015

node-sass doesn't support the latest version of nodejs

When I did

npm install

I got the following problem:

The imported project "C:\Microsoft.Cpp.Default.props" was not found. 
Confirm that the path in the <Import> declaration is correct, and that the file exists 
on disk.
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (D:\..\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
......


The reason for my situation is because node-sass doesn't support the latest version (0.12.0) of nodejs. After I switched to 0.10.x, the problem was resolved

1 comment: