atom / symbols-view

Jump to symbols in Atom
MIT License
163 stars 115 forks source link

Not able add package platformio-ide-terminal to atom #249

Closed balaji761995 closed 5 years ago

balaji761995 commented 5 years ago

while installing platformio-ide-terminal in atom, getting below error, Installing “platformio-ide-terminal@2.9.3” failed.Hide output…

node-pty-prebuilt-multiarch@0.8.1 install C:\Users\Surya\AppData\Local\Temp\apm-install-dir-119710-9604-ckmv6x.k2am7\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch prebuild-install || node scripts/install.js

C:\Users\Surya\AppData\Local\Temp\apm-install-dir-119710-9604-ckmv6x.k2am7\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch>if not defined npm_config_node_gyp (node "C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )

prebuild-install WARN install No prebuilt binaries found (target=2.0.18 runtime=electron arch=x64 libc= platform=win32) gyp info it worked if it ends with ok gyp verb cli [ 'C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild' ] gyp info using node-gyp@3.4.0 gyp info using node@8.9.3 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb which failed python2 { Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb which succeeded python C:\Users\Surya\AppData\Local\Programs\Python\Python37-32\python.EXE gyp verb check python version C:\Users\Surya\AppData\Local\Programs\Python\Python37-32\python.EXE -c "import platform; print(platform.python_version());" returned: "3.7.4\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\Surya\AppData\Local\Programs\Python\Python37-32\python.EXE" is v3.7.4, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0. gyp ERR! stack at failPythonVersion (C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:267:7) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:925:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\bin\node.exe" "C:\Users\Surya\AppData\Local\atom\app-1.38.2\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Surya\AppData\Local\Temp\apm-install-dir-119710-9604-ckmv6x.k2am7\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Surya\AppData\Local\Temp\apm-install-dir-119710-9604-ckmv6x.k2am7\package.json' npm WARN apm-install-dir-119710-9604-ckmv6x.k2am7 No description npm WARN apm-install-dir-119710-9604-ckmv6x.k2am7 No repository field. npm WARN apm-install-dir-119710-9604-ckmv6x.k2am7 No README data npm WARN apm-install-dir-119710-9604-ckmv6x.k2am7 No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-pty-prebuilt-multiarch@0.8.1 install: prebuild-install || node scripts/install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-pty-prebuilt-multiarch@0.8.1 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-08-10T16_15_54_431Z-debug.log

rsese commented 5 years ago

Thanks for contributing!

It appears that this is an issue with the https://github.com/platformio/platformio-atom-ide-terminal package, not Atom itself. It may be that there is still a bug in Atom. If so, we'll need the maintainer of the package that is causing the problem to help track that down. You should file this issue on their repository so they can either fix the problem or tell us where the problem is coming from. The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme.