Skip to content

fis3-parser-sass 安装问题 #615

Closed
@g8up

Description

@g8up
Contributor

部署:

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

g8up commented on Mar 11, 2016

@g8up
ContributorAuthor

已解决。
基于此文已更换为使用fis-parser-node-sass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zhangtao07@g8up

        Issue actions

          fis3-parser-sass 安装问题 · Issue #615 · fex-team/fis3