# Juno fails to install julia-client@0.9.4

**URL:** <https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544>\
**Category:** Juno\
**Tags:** juno\
**Created:** [August 14, 2019, 3:57pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544 "2019-08-14T15:57:50Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geometh](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@Geometh](https://discourse.julialang.org/u/Geometh)\
**Post date:** [August 14, 2019, 3:57pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/1 "2019-08-14T15:57:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [August 14, 2019, 3:58pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/2 "2019-08-14T15:58:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Geometh](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@Geometh](https://discourse.julialang.org/u/Geometh)\
**Post date:** [August 14, 2019, 4:24pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/3 "2019-08-14T16:24:39Z")

</div>

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

Thank You  
G

---

<div class="post-metadata">

**Author:** ![Geometh](https://avatars.discourse-cdn.com/v4/letter/g/34f0e0/32.png) [@Geometh](https://discourse.julialang.org/u/Geometh)\
**Post date:** [August 14, 2019, 4:52pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/4 "2019-08-14T16:52:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kurbkid](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kurbkid/32/9791_2.png) [@kurbkid](https://discourse.julialang.org/u/kurbkid)\
**Post date:** [August 15, 2019, 3:41pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/6 "2019-08-15T15:41:02Z")

</div>

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:

```julia
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.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [August 15, 2019, 6:27pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/7 "2019-08-15T18:27:01Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [August 15, 2019, 8:00pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/8 "2019-08-15T20:00:38Z")

</div>

Ok, so this probably is [an issue with Atom](https://github.com/atom/atom/issues/19780).

Downgrading to Atom 1.39 or 1.38 should work until we figure out a fix for this. You can also try [these instructions](https://github.com/nodejs/node-gyp#installation), 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.

---

<div class="post-metadata">

**Author:** ![mwsohn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mwsohn/32/2696_2.png) [@mwsohn](https://discourse.julialang.org/u/mwsohn)\
**Post date:** [August 15, 2019, 10:10pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/9 "2019-08-15T22:10:03Z")

</div>

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

Thank you so much!

---

<div class="post-metadata">

**Author:** ![kurbkid](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kurbkid/32/9791_2.png) [@kurbkid](https://discourse.julialang.org/u/kurbkid)\
**Post date:** [August 16, 2019, 6:19am UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/10 "2019-08-16T06:19:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rryi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rryi/32/9799_2.png) [@rryi](https://discourse.julialang.org/u/rryi)\
**Post date:** [August 16, 2019, 10:24am UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/11 "2019-08-16T10:24:27Z")

</div>

I opened an issue for atom:

[https://github.com/atom/atom/issues/19789](https://github.com/atom/atom/issues/19789)

it is still open, but a comment points to

[https://github.com/atom/atom/issues/19780](https://github.com/atom/atom/issues/19780)

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

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [August 16, 2019, 1:22pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/12 "2019-08-16T13:22:27Z")

</div>

> [@rryi](#):
>
> Maybe someone can check relevance for julia-client?

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

---

<div class="post-metadata">

**Author:** ![aviatesk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aviatesk/32/7610_2.png) [@aviatesk](https://discourse.julialang.org/u/aviatesk)\
**Post date:** [August 17, 2019, 6:28am UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/13 "2019-08-17T06:28:33Z")

</div>

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:

- [https://github.com/atom/atom/issues/19780](https://github.com/atom/atom/issues/19780)

---

<div class="post-metadata">

**Author:** ![aviatesk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aviatesk/32/7610_2.png) [@aviatesk](https://discourse.julialang.org/u/aviatesk)\
**Post date:** [August 21, 2019, 5:45am UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/14 "2019-08-21T05:45:42Z")

</div>

This issue should now be fixed with Atom v1.40.1 🙂 : [https://atom.io](https://atom.io/)

---

<div class="post-metadata">

**Author:** ![damonturney](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@damonturney](https://discourse.julialang.org/u/damonturney)\
**Post date:** [August 21, 2019, 5:54pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/15 "2019-08-21T17:54:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![aviatesk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aviatesk/32/7610_2.png) [@aviatesk](https://discourse.julialang.org/u/aviatesk)\
**Post date:** [August 21, 2019, 6:18pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/16 "2019-08-21T18:18:43Z")

</div>

Check command `Application: About`, or you can manually uninstall and install from [https://atom.io](https://atom.io/)

---

<div class="post-metadata">

**Author:** ![damonturney](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@damonturney](https://discourse.julialang.org/u/damonturney)\
**Post date:** [August 21, 2019, 6:44pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/17 "2019-08-21T18:44:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Yoyok\_Adisetio\_Lakso](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yoyok_adisetio_lakso/32/9932_2.png) [@Yoyok\_Adisetio\_Lakso](https://discourse.julialang.org/u/Yoyok_Adisetio_Lakso)\
**Post date:** [August 24, 2019, 1:12pm UTC](https://discourse.julialang.org/t/juno-fails-to-install-julia-client-0-9-4/27544/18 "2019-08-24T13:12:00Z")

</div>

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!
