http://www.feflowjs.org/zh-cn/docs/
在安装 npm install -g feflow-cli 是遇到这要一个问题
i
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.\V140\Platforms\x64\PlatformTo
olsets\v140\Toolset.targets(,): 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:\Users\h\AppData\Roaming\npm\node_modules\feflow-cl
i\node_modules\dtrace-provider\build\DTraceProviderStub.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` fail
ed with exit code:
gyp ERR! stack at ChildProcess.onExit (D:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js::)
gyp ERR! stack at emitTwo (events.js::)
gyp ERR! stack at ChildProcess.emit (events.js::)
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