arduino-upload icon indicating copy to clipboard operation
arduino-upload copied to clipboard

Doesn't Install Again

Open aaronnewcomb opened this issue 4 years ago • 0 comments

I tried the workaround in the Troubleshooting section. Is there something that needs to be prebuilt for my version of Atom or electron?

@serialport/[email protected] install C:\Users\anewcomb\AppData\Local\Temp\apm-install-dir-12011-16768-7sg8ji.k3hlk\node_modules\arduino-upload\node_modules@serialport\bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

[email protected] install C:\Users\anewcomb\AppData\Local\Temp\apm-install-dir-12011-16768-7sg8ji.k3hlk\node_modules\arduino-upload\node_modules\usb-detection prebuild-install || node-gyp rebuild

C:\Users\anewcomb\AppData\Local\Temp\apm-install-dir-12011-16768-7sg8ji.k3hlk\node_modules\arduino-upload\node_modules\usb-detection>if not defined npm_config_node_gyp (node "C:\Users\anewcomb\AppData\Local\atom\app-1.43.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\anewcomb\AppData\Local\atom\app-1.43.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:\Users\anewcomb\AppData\Local\Temp\apm-install-dir-12011-16768-7sg8ji.k3hlk\node_modules\arduino-upload\node_modules\usb-detection\build\detection.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

prebuild-install WARN install No prebuilt binaries found (target=4.2.7 runtime=electron arch=x64 libc= platform=win32) 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 (C:\Users\anewcomb\AppData\Local\atom\app-1.43.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.18362 gyp ERR! command "C:\Users\anewcomb\AppData\Local\atom\app-1.43.0\resources\app\apm\bin\node.exe" "C:\Users\anewcomb\AppData\Local\atom\app-1.43.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\anewcomb\AppData\Local\Temp\apm-install-dir-12011-16768-7sg8ji.k3hlk\node_modules\arduino-upload\node_modules\usb-detection 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\anewcomb\AppData\Local\Temp\apm-install-dir-12011-16768-7sg8ji.k3hlk\package.json' npm WARN apm-install-dir-12011-16768-7sg8ji.k3hlk No description npm WARN apm-install-dir-12011-16768-7sg8ji.k3hlk No repository field. npm WARN apm-install-dir-12011-16768-7sg8ji.k3hlk No README data npm WARN apm-install-dir-12011-16768-7sg8ji.k3hlk No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: prebuild-install || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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\anewcomb.atom.apm_logs\2020-02-02T00_12_46_612Z-debug.log

aaronnewcomb avatar Feb 02 '20 00:02 aaronnewcomb