-
Notifications
You must be signed in to change notification settings - Fork 7
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
Installing failed on windows 10 #46
Comments
Hi. I had that problem on my first trying. I've solved that by:
|
thanks, done all of the above and restarted. unfortunately still not working and same error as above |
Is the issue that the following file is unavailable: https://files.sorunome.de/arduino-upload/serialport/4.0.7/serialport-v4.0.7-electron-v2.0-win32-x64.tar.gz |
@sergerold If it is, then it looks like it's a repeat of #40. |
which should be fixed when updating to latest serialport dependency, but, you know, time... |
@sergerold I was unable to replicate this. The only thing I can think of that would be different between our apm instiances would be build tools. Did you properly config apm for your msvs version and point it to python with |
@rodrigocaus I ended up having to do a similar thing but I skipped the Node.js installation using this package. It's a bit fidgety and still requires some configuration but if anyone else needs to do this and doesn't wish to have 2 Node installs I gave a little bit of insight on that method. The first Node install being the one that comes bundled with apm. |
@StaticRocket I don't use MSVS and don't know how to use it. I didn't think I needed it to install the arduino-upload package for atom - I recall using this package a while ago without using MSVS. Are there any instructions on what I need to do with MSVS? Thanks |
@sergerold If you followed rodrigocaus' instructions MSVS 2015 should have been installed. npm was automatically configured but apm may not have been. Simply send the command |
@StaticRocket thanks, its working now! |
Installing “[email protected]” failed.Hide output…
Failed to execute 'C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\bin\node.exe C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\serialport-builds-electron\build\Release\serialport.node --module_name=serialport --module_path=C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\serialport-builds-electron\build\Release' (1)
C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr
`-- (empty)
node-pre-gyp ERR! Tried to download(500): https://files.sorunome.de/arduino-upload/serialport/4.0.7/serialport-v4.0.7-electron-v2.0-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (electron-v2.0 ABI, unknown) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack at C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:404:11
gyp ERR! stack at C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\bin\node.exe" "C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\serialport-builds-electron\build\Release\serialport.node" "--module_name=serialport" "--module_path=C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\serialport-builds-electron\build\Release"
gyp ERR! cwd C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\serialport-builds-electron
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\bin\node.exe C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\serialport-builds-electron\build\Release\serialport.node --module_name=serialport --module_path=C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\serialport-builds-electron\build\Release' (1)
node-pre-gyp ERR! stack at ChildProcess. (C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Windows_NT 10.0.17134
node-pre-gyp ERR! command "C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\bin\node.exe" "C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\node_modules\arduino-upload\node_modules\serialport-builds-electron
node-pre-gyp ERR! node -v v6.9.5
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\package.json'
npm WARN apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr No description
npm WARN apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr No repository field.
npm WARN apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr No README data
npm WARN apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr No license field.
npm ERR! Windows_NT 10.0.17134
npm ERR! argv "C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\bin\node.exe" "C:\Users\tom\AppData\Local\atom\app-1.28.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\tom\.atom\.apm\.apmrc" "--userconfig" "C:\Users\tom\.atom\.apmrc" "install" "C:\Users\tom\AppData\Local\Temp\d-11866-22924-oti06s.srls68ncdi\package.tgz" "--runtime=electron" "--target=2.0.4" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the serialport-builds-electron package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs serialport-builds-electron
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls serialport-builds-electron
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\tom\AppData\Local\Temp\apm-install-dir-11866-22924-w4fcsr.tbkuyxpqfr\npm-debug.log
npm ERR! code 1
The text was updated successfully, but these errors were encountered: