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

installation failed #749

Closed
1 of 2 tasks
suryanerella opened this issue Jul 30, 2019 · 1 comment
Closed
1 of 2 tasks

installation failed #749

suryanerella opened this issue Jul 30, 2019 · 1 comment

Comments

@suryanerella
Copy link

suryanerella commented Jul 30, 2019

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

Description

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

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

[email protected] install C:\Users\surya\AppData\Local\Temp\apm-install-dir-119630-7524-1x3x0lt.e74m\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt
prebuild-install || node scripts/install.js

C:\Users\surya\AppData\Local\Temp\apm-install-dir-119630-7524-1x3x0lt.e74m\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\surya\AppData\Local\atom\app-1.39.1\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\surya\AppData\Local\atom\app-1.39.1\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)
'cmd' is not recognized as an internal or external command,

operable program or batch file.

gyp: Call to 'cmd /c "cd shared && GetCommitHash.bat"' returned exit status 1 while in deps\winpty\src\winpty.gyp. while loading dependencies of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\surya\AppData\Local\atom\app-1.39.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:345:16)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Users\surya\AppData\Local\atom\app-1.39.1\resources\app\apm\bin\node.exe" "C:\Users\surya\AppData\Local\atom\app-1.39.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--build_v8_with_gn=false"
gyp ERR! cwd C:\Users\surya\AppData\Local\Temp\apm-install-dir-119630-7524-1x3x0lt.e74m\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\surya\AppData\Local\Temp\apm-install-dir-119630-7524-1x3x0lt.e74m\package.json'
npm WARN apm-install-dir-119630-7524-1x3x0lt.e74m No description
npm WARN apm-install-dir-119630-7524-1x3x0lt.e74m No repository field.
npm WARN apm-install-dir-119630-7524-1x3x0lt.e74m No README data
npm WARN apm-install-dir-119630-7524-1x3x0lt.e74m 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.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\surya.atom.apm_logs\2019-07-30T05_52_54_958Z-debug.log

@the-j0k3r
Copy link
Collaborator

Thank you for reaching out to use with this issue report.

There is a workaround, its been posted in this issue #707 (comment) < click that.

There are other workarounds in thread, so reading and typing more than the minimum is necessary.

Thanks for your understanding.

@platformio platformio locked as resolved and limited conversation to collaborators Jul 30, 2019
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