-
Notifications
You must be signed in to change notification settings - Fork 159
platformio-ide-terminal installation failed #637
Comments
Same thing on Win 10. But if you install Python 3.x this will also will not work. |
See thats the problem; I use python 3 |
I have python 3.5.2 default install and it works just fine. Its working even better now with 2.9.0 many bugs I experienced fixed like #546 #608 and a few others. When I had issues or discovered issues it was just a case of resetting Atom to defaults, and unistalling + deletion of the platformio-ide-terminal folder/remnants from Atom, then re-installing via apm. This is the best Ive seen platformio-ide-terminal work with 2.9.0 |
Also regarding python error
So open a ticket @node-gyp and as a workaround downgrade python to 3.5.2 which I know works fine, but to be safe, go with python 2.7.
|
For the record, node-gyp 3.4.0 is called by apm https://github.com/atom/apm/blob/master/package.json @daviwil could answer this better since he is involved with both node-pty-prebuilt and apm though hes an extremely busy guy. |
Reminder:Any installation issues are to/should be reported to apm issue tracker platformio-ide-terminal cannot control apm which is responsible for installs of all atom plugins and their dependencies anyway, so thanks in advance for your understanding in these matters. |
I met the same issure. It may not be an apm issue. I have tried clean cache of atom, apm and node. But the installation was still failed. these is VERSIONS: apm 2.2.4 Here's a part of DEBUG LOG: 2119 warn enoent ENOENT: no such file or directory, open 'C:\Users\admin\AppData\Local\Temp\apm-install-dir-119519-21132-1mbyks.z9usz\package.json' Please check it, thanks! |
Again, apm is responsible for all installations, theres is nothing this project can do about it.
EDit: OK your Atom 1.39.0 is beta2 so it still has supported node/electron versions. or maybe not because you are customizing things.
"--runtime=electron" "--target=3.1.10" is not supported by node-pty-prebuilt 0.7.6 max is 2.0.0 Still re: Installation failure. Go report any such failures to apm, literally nothing this project can do fix installation failures. |
So, I changed to Atom release version 1.38.2 and the installation was success, thanks. |
Where node-pty-prebuilt has not published higher abi binaries for electron/node for beta Atom version in the given platform that should be reported to node-pty-prebuilt repo. The problem is users report it to this repo, and we have literally no control over how apm/node-pty-prebuilt work or what they support to the applicable release.
All such installation issues should be reported to apm, no exceptions, though I bet no one (that reports them issue here) does the right thing. Im glad its working now. |
@maxjkim It means it wasnt able to download the packages. please report that to APM issue tracker. |
This comment has been minimized.
This comment has been minimized.
C:\Users\augus\AppData\Local\Temp\apm-install-dir-119623-1608-mxov6b.uksfg\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\augus\AppData\Local\atom\app-1.39.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild --build_v8_with_gn=false ) else (node "C:\Users\augus\AppData\Local\atom\app-1.39.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --build_v8_with_gn=false ) prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=electron arch=x64 libc= platform=win32) npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: Which problem I'm facing? |
@UziTech The issues reported here are not related to node-pty-prebuilt not supporting higher node/electron versions, (e.g. the report above perfect example its a node-gyp issue), and node-pty-prebuilt issues are a completely separate issue. As for what other dependency would work, please open a separate issue or PR. Also node-pty-prebuilt/node-gyp failures are to be reported to their respective projects. Reporting everything here is not helpful to anyone as this is not those projects.
@AugustoPiva Its node-pty-prebuilt failed to rebuild the binaries for your OS, open a issue at https://github.com/daviwil/node-pty-prebuilt/issues/new |
This comment has been minimized.
This comment has been minimized.
@UziTech offtopic, please open a new issue to talk about possible replacements. |
For windows 10 I just run npm install --global --production windows-build-tools in powershell as administrator. That command also installed me python2.7 and solved platformio-ide-terminal installation. |
@AugustoPiva thanks for bring this issue to our attention. This is a duplicate of #700 see #707 (comment) for a possible workaround |
Whenever I try to download the package platformio-ide-terminal it refuses to download and shows me the following error message:
and I don't know what to do.
P.S. This is the error message that appears with npm-install installed.
The text was updated successfully, but these errors were encountered: