Juno fails to install julia-client@0.9.4

Hi,

I have a freshly set-up Ubuntu system (18.04 LTS amd64 on standard hardware). Of course, first thing I did, was installing atom with Julia… Well, at least I tried.
For some reason atom (version 1.40.0) is giving me the following error message
“Error: Installing “julia-client@0.9.4” failed.” and I prompted to check my internet connection or open a thread here. My internet connection is doing fine and I additionally tried with a prior version of atom (1.38.2 which is working an Mac) but the problem remains. So yeah, can anybody help me with this?

Many Thanks
G

Can you try apm install julia-client in a terminal? That should give more helpful output.

Worked! (Running apm to install it, did the job without any conflicts…)

Thank You
G

1 Like

I have one remark though.

Using apm directly only works with atom 1.38.2.

With the most recent version 1.40.0. I get the following errors:

$apm install julia-client
bash: /usr/bin/apm: No such file or directory

And when going for sudo

$ sudo apm install julia-client
Installing julia-client to /home/minierol/.atom/packages ✗

@pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install /tmp/apm-install-dir-119714-6721-fo7mv8.ixpq/node_modules/julia-client/node_modules/@pfitzseb/node-pty-prebuilt
prebuild-install || node scripts/install.js

sh: 1: prebuild-install: Permission denied
internal/modules/cjs/loader.js:596
throw err;
^

Error: Cannot find module ‘/tmp/apm-install-dir-119714-6721-fo7mv8.ixpq/node_modules/julia-client/node_modules/@pfitzseb/node-pty-prebuilt/scripts/install.js’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
at startup (internal/bootstrap/node.js:238:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:572:3)
npm WARN enoent ENOENT: no such file or directory, open ‘/tmp/apm-install-dir-119714-6721-fo7mv8.ixpq/package.json’
npm WARN apm-install-dir-119714-6721-fo7mv8.ixpq No description
npm WARN apm-install-dir-119714-6721-fo7mv8.ixpq No repository field.
npm WARN apm-install-dir-119714-6721-fo7mv8.ixpq No README data
npm WARN apm-install-dir-119714-6721-fo7mv8.ixpq No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install: prebuild-install || node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 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/minierol/.atom/.apm/_logs/2019-08-14T16_37_37_593Z-debug.log

G

I get the same error on windows 10 with atom 1.40.0. I uninstalled atom and cleared .atom, reinstalled and got the error again.
When I tried with ‘apm install julia-client’, i got the following:

C:\Users\thedi>apm install julia-client
Installing julia-client to C:\Users\thedi\.atom\packages failed

> @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install C:\Users\thedi\AppData\Local\Temp\apm-install-dir-119715-4184-ddkf7h.fotc\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
> prebuild-install || node scripts/install.js


C:\Users\thedi\AppData\Local\Temp\apm-install-dir-119715-4184-ddkf7h.fotc\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\thedi\AppData\Local\atom\app-1.40.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\thedi\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )

prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=node arch=x64 libc= platform=win32)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (C:\Users\thedi\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:492:19)
gyp ERR! stack     at PythonFinder.<anonymous> (C:\Users\thedi\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:517:16)
gyp ERR! stack     at C:\Users\thedi\AppData\Local\atom\app-1.40.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.17134
gyp ERR! command "C:\\Users\\thedi\\AppData\\Local\\atom\\app-1.40.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\thedi\\AppData\\Local\\atom\\app-1.40.0\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\thedi\AppData\Local\Temp\apm-install-dir-119715-4184-ddkf7h.fotc\node_modules\julia-client\node_modules\@pfitzseb\node-pty-prebuilt
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\thedi\AppData\Local\Temp\apm-install-dir-119715-4184-ddkf7h.fotc\package.json'
npm WARN apm-install-dir-119715-4184-ddkf7h.fotc No description
npm WARN apm-install-dir-119715-4184-ddkf7h.fotc No repository field.
npm WARN apm-install-dir-119715-4184-ddkf7h.fotc No README data
npm WARN apm-install-dir-119715-4184-ddkf7h.fotc No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 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\thedi\.atom\.apm\_logs\2019-08-15T15_36_03_643Z-debug.log

If you want i can send the log too.

1 Like

Just to gather some more data, can you try installing Atom 1.39.1, disable auto updates, and install julia-client with that version? I honestly don’t know why this issue is cropping up again – the difficult transition should have been between 1.38 and 1.39…

Ok, so this probably is an issue with Atom.

Downgrading to Atom 1.39 or 1.38 should work until we figure out a fix for this. You can also try these instructions, after which Juno should once again install fine.

Sorry for the inconvenience this might have caused, and I’ll keep everyone posted on our progress.

1 Like

When I downgraded my Atom to 1.39, I could install julia-client without any issue.

Thank you so much!

1 Like

For me it also just works on atom 1.39.1. Thanks!

1 Like

I opened an issue for atom:

it is still open, but a comment points to

which is about atom plugins containing native components compiled for older atom releases. Maybe someone can check relevance for julia-client?

As I wrote above, we’re looking into it.

UPDATE:

This issue will be hopefully fixed in the next Atom’s patch release (v1.40.1). It’s still not shipped yet though.

Refs:

2 Likes

This issue should now be fixed with Atom v1.40.1 :slight_smile: : https://atom.io

2 Likes

Ok great, but when I try to update Atom from 1.40.0 to 1.40.1 it says no updates are available, so it never updates to 1.40.1.

I’m trying to update clicking on the buttons Atom --> Preferences --> Updates --> Check For Updates.

I also try Atom --> Check for Updates.

Neither of these methods recognizes that 1.40.1 exists.

Check command Application: About, or you can manually uninstall and install from https://atom.io

It finally upgraded after I quit and restarted and tried the upgrades again.

I had previously commented out
export npm_config_python="${binDir}/python-interceptor.sh"
in the /usr/local/bin/apm file to get julia-client to work with Atom 1.40.0

Maybe that caused some problem. Anyway it seems to work now.

I have the same problem and running apm install julia-client in cmd is fail. Finally I tried it in Miniconda 2 prompt using python 2.7.15 and its works!