Sorunome / arduino-upload

Atom Package for those who don't like the Arduino IDE
https://atom.io/packages/arduino-upload
MIT License
34 stars 7 forks source link

Dead prebuilt binaries #40

Closed StaticRocket closed 6 years ago

StaticRocket commented 6 years ago

Figured I might as well try out apm dev <package-name>, with how often I have been picking through the files of this project, and discovered that apm is unable to build serialport-builds-electron@4.0.7 and electron@1.7.11. Further investigation points to node-pre-gpy trying to load prebuilt binaries for electron that were previously hosted through your website.

node-pre-gyp ERR! Tried to download(500): https://files.sorunome.de/arduino-upload/serialport/4.0.7/serialport-v4.0.7-electron-v1.7-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport-builds-electron@4.0.7 and electron@1.7.11 (electron-v1.7 ABI, unknown) (falling back to source compile with node-gyp)

That link is now dead and node-pre-gpy is falling back on another invalid link as evident by gyp ERR! stack Error: 404 response downloading https://iojs.org/download/release/v1.7.11/iojs-v1.7.11.tar.gz. Did you mean to reference https://iojs.org/download/release/v1.7.1/iojs-v1.7.1.tar.gz instead? I would submit a pull request with a fix to the latter, if that's the case, but I don't know where these values are defined within the package.

StaticRocket commented 6 years ago

The latter issue was actually due to an invalid fallback version.

Sorunome commented 6 years ago

Oh, atom updated to electron 1.7, i only served up to electron 1.6.....time to rebuild! :D

For building yourself on windows see the readme under "Troubleshooting" https://github.com/Sorunome/arduino-upload#troubleshooting

Sorunome commented 6 years ago

aaaand should be done. Please re-open if the issue persists

peterPAN85-ofthesun commented 2 years ago

Hello I have the same issue. I have an Archlinux System so all my software and libraries are up to date. Do you think electron is in most younger version to work with Atom again?