I'm struggling to install the package as it does require compilers, etc. As a Unix guy my Windows development know how is little at best. Please forgive me if I'm asking some very basic questions here.
I've installed Python 2.7.15 (x64), Visual Studio CE 2017 and the windows-build-tools package via npm. When I try to run npm install --save fsuipc I get this output:
# npm install --save fsuipc
> fsuipc@0.2.1 install E:\tmp\node_test\node_modules\fsuipc
> node-gyp rebuild
rgeber@VELOCITY E:\tmp\node_test\node_modules\fsuipc
# if not defined npm_config_node_gyp (node "E:\dev_tools\node-v8.11.3-win-x64\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "E:\dev_tools\node-v8.11.3-win-x64\node_modules\npm\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.
E:\tmp\node_test\node_modules\fsuipc\build\fsuipc.vcxproj(20,3): error MSB4019: The imported project "E:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (E:\dev_tools\node-v8.11.3-win-x64\node_modules\npm\node_modules\node-gyp\lib\build.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_process.js:198:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "E:\\dev_tools\\node-v8.11.3-win-x64\\node.exe" "E:\\dev_tools\\node-v8.11.3-win-x64\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd E:\tmp\node_test\node_modules\fsuipc
gyp ERR! node -v v8.11.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN node_test@1.0.0 No description
npm WARN node_test@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fsuipc@0.2.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fsuipc@0.2.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rgeber\AppData\Roaming\npm-cache\_logs\2018-08-14T12_26_48_030Z-debug.log
You cannot compile FSUIPC unless it's on Windows due to the api calls. If you're developing on anything other than windows, include the package as a optionalDependency
Hi
I'm struggling to install the package as it does require compilers, etc. As a Unix guy my Windows development know how is little at best. Please forgive me if I'm asking some very basic questions here.
I've installed Python 2.7.15 (x64), Visual Studio CE 2017 and the
windows-build-tools
package vianpm
. When I try to runnpm install --save fsuipc
I get this output:The log file:
Could you please provide some kind of installation guide on how to compile the module?
Thanks
Roman