nodejs项目node-sass转移问题 npm rebuild node-sass

ERROR in Missing binding H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node
Node Sass could not find a binding for your current environment: Windows 32-bit with Node.js 6.x


Found bindings for the following environments:
  - Windows 64-bit with Node.js 6.x


This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
 @ ./src/assets/stylesheets/base.scss 4:14-127 13:2-17:4 14:20-133


ERROR in Missing binding H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node
Node Sass could not find a binding for your current environment: Windows 32-bit with Node.js 6.x


Found bindings for the following environments:
  - Windows 64-bit with Node.js 6.x


This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
 @ ./src/assets/stylesheets/style.css 4:14-127 13:2-17:4 14:20-133


ERROR in Missing binding H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node
Node Sass could not find a binding for your current environment: Windows 32-bit with Node.js 6.x


Found bindings for the following environments:
  - Windows 64-bit with Node.js 6.x


This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
 @ ./~/react-datepicker/dist/react-datepicker.css 4:14-106 13:2-17:4 14:20-112
^C
H:\myWork\lvlvPro\lvlvPro>


H:\myWork\lvlvPro\lvlvPro>npm rebuild node-sass


> [email protected] install H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass
> node scripts/install.js


Binary downloaded and installed at H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node


> [email protected] postinstall H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass
> node scripts/build.js


"H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass\vendor\win32-ia32-48\binding.node" exists.
 testing binary.
Binary is fine; exiting.
[email protected] H:\myWork\lvlvPro\lvlvPro\node_modules\node-sass



此时运行按照提示执行  npm rebuild node-sass  命令,(如若不行,则先运行npm install node-sass命令执行)


然后再运行 node命令,启动服务。



期初会出现乱七八糟的什么msbuild.exe这些鬼东西,猜测还是跟nodejs版本有关,保持和原项目node版本一致就没出问题了。

你可能感兴趣的:(angularjs学习)