Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Issues on windows 10 machine #77

Open
Zakgeki opened this issue Aug 16, 2019 · 0 comments
Open

Install Issues on windows 10 machine #77

Zakgeki opened this issue Aug 16, 2019 · 0 comments

Comments

@Zakgeki
Copy link

Zakgeki commented Aug 16, 2019

I'm having an issue installing arduino upload, and it does appear to be very similar to the other issues with the serialport library. I have installed node.js and ran npm install --global --production --vs2015 windows-build-tools to install MSVS 2015 as well as changed the config for apm with apm config set msvs_version 2015, but I am still having installation issues. There appears to be something wonky with msvs not liking that TEMP is being used as an intermediate directory. Here is what the terminal spits out.

@serialport/bindings@2.0.8 install C:\Users\zwells\AppData\Local\Temp\apm-install-dir-119716-13896-mkrbv7.nhuj\node_modules\arduino-upload\node_modules@serialport\bindings

prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild `

C:\Users\zwells\AppData\Local\Temp\apm-install-dir-119716-13896-mkrbv7.nhuj\node_modules\arduino-upload\node_modules@serialport\bindings>if not defined npm_config_node_gyp (node "C:\Users\zwells\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\zwells\AppData\Local\atom\app-1.40.0\resources\app\apm\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.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\zwells\AppData\Local\Temp\apm-install-dir-119716-13896-mkrbv7.nhuj\node_modules\arduino-upload\node_modules@serialport\bindings\build\bindings.vcxproj]
serialport.cpp
serialport_win.cpp
win_delay_load_hook.cc
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(882): fatal error C1083: Cannot open include file: 'qos.h': No such file or directory (compiling source file ..\src\serialport.cpp) [C:\Users\zwells\AppData\Local\Temp\apm-install-dir-119716-13896-mkrbv7.nhuj\node_modules\arduino-upload\node_modules@serialport\bindings\build\bindings.vcxproj]
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(882): fatal error C1083: Cannot open include file: 'qos.h': No such file or directory (compiling source file ..\src\serialport_win.cpp) [C:\Users\zwells\AppData\Local\Temp\apm-install-dir-119716-13896-mkrbv7.nhuj\node_modules\arduino-upload\node_modules@serialport\bindings\build\bindings.vcxproj]

prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=node arch=x64 libc= platform=win32)
gyp ERR! build error
gyp ERR! stack Error: msbuild failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\zwells\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Users\zwells\AppData\Local\atom\app-1.40.0\resources\app\apm\bin\node.exe" "C:\Users\zwells\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\zwells\AppData\Local\Temp\apm-install-dir-119716-13896-mkrbv7.nhuj\node_modules\arduino-upload\node_modules@serialport\bindings
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\zwells\AppData\Local\Temp\apm-install-dir-119716-13896-mkrbv7.nhuj\package.json'
npm WARN apm-install-dir-119716-13896-mkrbv7.nhuj No description
npm WARN apm-install-dir-119716-13896-mkrbv7.nhuj No repository field.
npm WARN apm-install-dir-119716-13896-mkrbv7.nhuj No README data
npm WARN apm-install-dir-119716-13896-mkrbv7.nhuj No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @serialport/bindings@2.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @serialport/bindings@2.0.8 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\zwells.atom.apm_logs\2019-08-16T18_19_56_065Z-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant