Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

[email protected]. installation failed #673

Closed
1 of 2 tasks
y-khan opened this issue Mar 10, 2019 · 2 comments
Closed
1 of 2 tasks

[email protected]. installation failed #673

y-khan opened this issue Mar 10, 2019 · 2 comments

Comments

@y-khan
Copy link

y-khan commented Mar 10, 2019

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.

Description

I am trying to install 2.9.1. but it fails to install. Getting the following error report.

Installing “[email protected]” failed.Hide output…

[email protected] install C:\cygwin64\tmp\apm-install-dir-119210-16876-1vina5q.76iv\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt
prebuild-install || node scripts/install.js

npm WARN lifecycle npm is using C:\Users\myk10\AppData\Local\atom\app-1.34.0\resources\app\apm\bin\node.exe but there is no node binary in the current PATH. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
'node' is not recognized as an internal or external command,
operable program or batch file.
'node' is not recognized as an internal or external command,
operable program or batch file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\cygwin64\tmp\apm-install-dir-119210-16876-1vina5q.76iv\package.json'
npm WARN apm-install-dir-119210-16876-1vina5q.76iv No description
npm WARN apm-install-dir-119210-16876-1vina5q.76iv No repository field.
npm WARN apm-install-dir-119210-16876-1vina5q.76iv No README data
npm WARN apm-install-dir-119210-16876-1vina5q.76iv No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node scripts/install.js
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.

Steps to reproduce

Expected behavior:

Actual behavior:

Reproduces how often:

Versions

> atom --version

> apm --version

OS name and version:
Platformio-ide-terminal version:

Additional Information

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Mar 11, 2019

duplicate of #637 despite different errors its all same.

The relevant part is

npm WARN lifecycle npm is using C:\Users\myk10\AppData\Local\atom\app-1.34.0\resources\app\apm\bin\node.exe but there is no node binary in the current PATH. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
'node' is not recognized as an internal or external command,
operable program or batch file.
'node' is not recognized as an internal or external command,
operable program or batch file.

Try do what it says. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.

This is apm/node-pty-prebuilt installer related, we cant control 3rd party installers and their occasional issues they throw. Best kkep trying at differnt times or with a vpn/proxy, best complain to them ;)

@platformio platformio locked and limited conversation to collaborators Mar 11, 2019
@the-j0k3r
Copy link
Collaborator

Reminder:

Any installation issues are to and 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.

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

No branches or pull requests

2 participants