安装Feflow遇取的问题

http://www.feflowjs.org/zh-cn/docs/

在安装 npm install -g feflow-cli 是遇到这要一个问题

i

C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformTo
olsetsv140Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 w
as not found. Install the required version of Windows SDK or change the SDK ver
sion in the project property pages or by right-clicking the solution and select
ing "Retarget solution". [C:UsershAppDataRoaming
pm
ode_modulesfeflow-cl
i
ode_modulesdtrace-provideruildDTraceProviderStub.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:Program Files (x86)MSBuild14.0inmsbuild.exe` fail
ed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (D:Program Files
odejs
ode_modules
npm
ode_modules
ode-gyplibuild.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces

解决方法

# before installing node-gyp on windows
npm install --global --production windows-build-tools

# install node-gyp globally
npm install -g node-gyp
原文地址:https://www.cnblogs.com/ymh2013/p/9395646.html