Can you try searching for ink in Atom’s package manager and try to install it manually?
If that doesn’t work, type apm install ink into a terminal (and paste the output here if that fails too).
Hello!
I have the same problem while installing uber-juno. I undertadn what the error says and I’ve read the log, but I’m still not able to make it work. When I run “apm install ink” I get the following error in the terminal:
> ink@0.12.3 postinstall /tmp/apm-install-dir-120327-22612-chxusl.len5o/node_modules/ink
> node scripts/postinstall.js
Aborted
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-120327-22612-chxusl.len5o/package.json'
npm WARN apm-install-dir-120327-22612-chxusl.len5o No description
npm WARN apm-install-dir-120327-22612-chxusl.len5o No repository field.
npm WARN apm-install-dir-120327-22612-chxusl.len5o No README data
npm WARN apm-install-dir-120327-22612-chxusl.len5o No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! ink@0.12.3 postinstall: `node scripts/postinstall.js`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the ink@0.12.3 postinstall 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! /home/toni/.atom/.apm/_logs/2020-04-27T16_57_27_294Z-debug.log
I’m not able to attach the error log because the file extension is not supported.
Please help me!!!
I am having a similar problem although with a different package in the uber-juno installer. I’ve used both atom and command prompt on windows 10 and have received the following outputs when attempting to install the julia-client package:
Installing julia-client@0.12.4 to C:\Users\zackm\.atom\packages failed
> node-pty-prebuilt-multiarch@0.9.0 install C:\Users\zackm\AppData\Local\Temp\apm-install-dir-12048-27104-yj6xfq.cz21\node_modules\julia-client\node_modules\node-pty-prebuilt-multiarch
> prebuild-install || node scripts/install.js
C:\Users\zackm\AppData\Local\Temp\apm-install-dir-12048-27104-yj6xfq.cz21\node_modules\julia-client\node_modules\node-pty-prebuilt-multiarch>if not defined npm_config_node_gyp (node "C:\Users\zackm\AppData\Local\atom\app-1.46.0\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\zackm\AppData\Local\atom\app-1.46.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
prebuild-install WARN install unexpected end of file
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\zackm\AppData\Local\Programs\Python\Python38-32\python.EXE", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\zackm\AppData\Local\atom\app-1.46.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:492:19)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\zackm\AppData\Local\atom\app-1.46.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:517:16)
gyp ERR! stack at C:\Users\zackm\AppData\Local\atom\app-1.46.0\resources\app\apm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:182:21)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Users\\zackm\\AppData\\Local\\atom\\app-1.46.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\zackm\\AppData\\Local\\atom\\app-1.46.0\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\zackm\AppData\Local\Temp\apm-install-dir-12048-27104-yj6xfq.cz21\node_modules\julia-client\node_modules\node-pty-prebuilt-multiarch
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\zackm\AppData\Local\Temp\apm-install-dir-12048-27104-yj6xfq.cz21\package.json'
npm WARN apm-install-dir-12048-27104-yj6xfq.cz21 No description
npm WARN apm-install-dir-12048-27104-yj6xfq.cz21 No repository field.
npm WARN apm-install-dir-12048-27104-yj6xfq.cz21 No README data
npm WARN apm-install-dir-12048-27104-yj6xfq.cz21 No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty-prebuilt-multiarch@0.9.0 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pty-prebuilt-multiarch@0.9.0 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\zackm\.atom\.apm\_logs\2020-05-07T15_03_12_956Z-debug.log
Any help would be greatly appreciated. As above, could not attach log file.
Aborted (core dumped)
npm WARN enoent ENOENT: no such file or directory, open ‘/tmp/apm-install-dir-120417-43812-1kiiixd.hx3h/package.json’
npm WARN apm-install-dir-120417-43812-1kiiixd.hx3h No description
npm WARN apm-install-dir-120417-43812-1kiiixd.hx3h No repository field.
npm WARN apm-install-dir-120417-43812-1kiiixd.hx3h No README data
npm WARN apm-install-dir-120417-43812-1kiiixd.hx3h No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! ink@0.12.3 postinstall: node scripts/postinstall.js
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the ink@0.12.3 postinstall 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! /home/kenneth/.atom/.apm/_logs/2020-05-17T19_21_39_25
Hi,
after upgrading to Atom 1.47. with julia-client 0.12.5 on Debian Bullseye, I got similar errors as described above. I gave apm python 2.7, but then the following error came up;
~ $ apm install julia-client
Installing julia-client to /home/hagi/.atom/packages ✗
> node-pty-prebuilt-multiarch@0.9.0 install /tmp/apm-install-dir-202055-8003-1bck0qt.3f4v/node_modules/julia-client/node_modules/node-pty-prebuilt-multiarch
> prebuild-install || node scripts/install.js
Aborted
Aborted
gyp: Call to 'node -e "require('nan')"' returned exit status 134 while in 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 (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 5.6.0-2-amd64
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-202055-8003-1bck0qt.3f4v/node_modules/julia-client/node_modules/node-pty-prebuilt-multiarch
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
Aborted
Aborted
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-202055-8003-1bck0qt.3f4v/package.json'
npm WARN apm-install-dir-202055-8003-1bck0qt.3f4v No description
npm WARN apm-install-dir-202055-8003-1bck0qt.3f4v No repository field.
npm WARN apm-install-dir-202055-8003-1bck0qt.3f4v No README data
npm WARN apm-install-dir-202055-8003-1bck0qt.3f4v No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! node-pty-prebuilt-multiarch@0.9.0 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the node-pty-prebuilt-multiarch@0.9.0 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! /home/hagi/.atom/.apm/_logs/2020-06-05T14_50_05_476Z-debug.log
After removing ink it gave a similar error when re-installing.