Closed
Description
部署:
D:\code\fis-vuejs-seed>fis3 release -d d:\output
[INFO] Currently running fis3 (D:\Program Files (x86)\nodejs\node_modules\fis3)
Ω ..............................
[ERROR] unable to load plugin [fis3-parser-sass] or [fis-parser-sass]
安装 fis3-parser-sass
时出现:
$ cnpm i -g fis3-parser-sass
-
> fis-sass@3.1.3 install d:\Program Files (x86)\nodejs4.4\node_modules\fis3-parser-sass\node_modules
\fis-sass
> node build.js
Downloading http://fisstatic.duapp.com/addons/fis-sass/3.1.0/win32-ia32/0.12.0/binding.node ...
Received 513K...
Received 832K total.
Test failed!
(node) child_process: options.customFds option is deprecated. Use options.stdio instead.
d:\Program Files (x86)\nodejs4.4\node_modules\fis3-parser-sass\node_modules\fis-sass>if not defined
npm_config_node_gyp (node "d:\Program Files (x86)\nodejs\node_modules\cnpm\node_modules\npm\bin\node
-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "d:\Program Files (x86)
\nodejs\node_modules\cnpm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m"
switch.
MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装 .NET Framewo
rk 2.0 SDK;2) 安装
Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。 [d:\P
rogram Files (x86)\nodejs4.4\n
ode_modules\fis3-parser-sass\node_modules\fis-sass\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (d:\Program Files (x86)\nodejs\node_modules\cnpm\node_modu
les\node-gyp\lib\build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "d:\\Program Files (x86)\\nodejs4.4\\node.exe" "d:\\Program Files (x86)\\nodejs\\no
de_modules\\cnpm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd d:\Program Files (x86)\nodejs4.4\node_modules\fis3-parser-sass\node_modules\fis-sass
gyp ERR! node -v v4.4.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
Build failed
(节选)
请教怎么能顺利安装呢?
Activity
g8up commentedon Mar 11, 2016
已解决。
基于此文已更换为使用
fis-parser-node-sass