Using Ubuntu 18
After some troubles, I had Juno working enough to code a bit, but only if I ran it as sudo. Fine. I remember having to delete my packages folder in .atom to get ink to install the first time. Eventually, atom will not start, so I attempt to reinstall it.
Now having to reinstall Juno is a nightmare. I get the previous error of ink not being able to install. My previous trick of deleting the packages folder to install ink does not work! I tried installing julia-client, uber-juno, ink from apm at the command line, but this also does not work. I then tried updating atom itself using apm to install atom-updater-linux. Wonderfully, this does not work as well, it appears to install an update, but after restarting it tries to update again and again endlessly.
What do I do now?
What version of Atom are you running and how did you install it? You should never need to run package installation as sudo
.
Also, what is the output of apm install ink
? It’s basically impossible to help you if you don’t post the error messages.
I got version 1.26.1-1
Installed using sudo apt-get install. Unable to install anything with apt-get without sudo.
Right, then please get a newer version e.g. by downloading it directly from https://atom.io/.
Installed using sudo apt-get install. Unable to install anything with apt-get without sudo.
I meant installation of Atom packages via apm install
or the Atom GUI should never need sudo.
Ok just now:
Did a sudo apt-get remove atom --purge
Downloaded the .deb package from https:://atom.io
Installed it using package manager.
Still can only open as sudo. When I do it immediately tries to install ink and fails with the same error.
this is the stack trace from running sudo apm install ink
ink@0.9.14 postinstall /tmp/apm-install-dir-119127-7754-a1ur7z.g7au8/node_modules/ink
node scripts/postinstall.js
module.js:538
throw err;
^
Error: Cannot find module ‘/tmp/apm-install-dir-119127-7754-a1ur7z.g7au8/node_modules/ink/scripts/postinstall.js’
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm WARN enoent ENOENT: no such file or directory, open ‘/tmp/apm-install-dir-119127-7754-a1ur7z.g7au8/package.json’
npm WARN apm-install-dir-119127-7754-a1ur7z.g7au8 No description
npm WARN apm-install-dir-119127-7754-a1ur7z.g7au8 No repository field.
npm WARN apm-install-dir-119127-7754-a1ur7z.g7au8 No README data
npm WARN apm-install-dir-119127-7754-a1ur7z.g7au8 No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ink@0.9.14 postinstall: node scripts/postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ink@0.9.14 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/cwmancuso/.atom/.apm/_logs/2019-02-27T17_23_44_262Z-debug.log
Solved! Installed atom-beta
Thanks for your help
Okay. Now I tried to install atom-beta on my workstation (Ubuntu 16.04)using what worked on my other computer… and I get the ink error again. this is the stack trace. Any suggestions?
ink@0.9.14 postinstall /tmp/apm-install-dir-119127-11425-unk3m5.aib9s/node_modules/ink
node scripts/postinstall.js
module.js:538
throw err;
^
Error: Cannot find module ‘/tmp/apm-install-dir-119127-11425-unk3m5.aib9s/node_modules/ink/scripts/postinstall.js’
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm WARN enoent ENOENT: no such file or directory, open ‘/tmp/apm-install-dir-119127-11425-unk3m5.aib9s/package.json’
npm WARN apm-install-dir-119127-11425-unk3m5.aib9s No description
npm WARN apm-install-dir-119127-11425-unk3m5.aib9s No repository field.
npm WARN apm-install-dir-119127-11425-unk3m5.aib9s No README data
npm WARN apm-install-dir-119127-11425-unk3m5.aib9s No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ink@0.9.14 postinstall: node scripts/postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ink@0.9.14 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/cwmancuso/.atom/.apm/_logs/2019-02-27T20_38_49_339Z-debug.log
I get the same error on Windows 10 64bit and a fresh Atom install.