# Juno ide repl conpty error while starting Julia session

**URL:** https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355
**Category:** New to Julia
**Created:** [October 27, 2019, 6:04am UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355 "2019-10-27T06:04:31Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![rocflight83](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rocflight83](https://discourse.julialang.org/u/rocflight83)
#### Post date: [October 27, 2019, 6:04am UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/1 "2019-10-27T06:04:31Z")

</div>

Randomly getting this error. Reinstalled to latest version of atom, but guess its unrelated since error persists. Any suggestions?

```julia
C:\Users\pengl\.atom\packages\julia-client\lib\connection\local.coffee:172 Julia exited with Error: Cannot find module '..\build\Debug\conpty.node'.
(anonymous) @ C:\Users\pengl\.atom\packages\julia-client\lib\connection\local.coffee:172
internal/modules/cjs/loader.js:584 Uncaught (in promise) Error: Cannot find module '..\build\Debug\conpty.node'
    at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
    at Module._resolveFilename (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\electron.asar\common\reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:155413)
    at Module.require (file:///C:/Users/pengl/AppData/Local/atom/app-1.41.0/resources/app.asar/static/index.js:61:43)
    at require (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:146745)
    at Object.loadNative (C:\Users\pengl\.atom\packages\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\lib\utils.js:22:16)
    at new WindowsPtyAgent (C:\Users\pengl\.atom\packages\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\lib\windowsPtyAgent.js:34:40)
    at new WindowsTerminal (C:\Users\pengl\.atom\packages\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\lib\windowsTerminal.js:49:24)
    at Object.spawn (C:\Users\pengl\.atom\packages\julia-client\node_modules\@pfitzseb\node-pty-prebuilt\lib\index.js:29:12)
    at file:///C:/Users/pengl/.atom/packages/julia-client/lib/connection/process/basic2.js:93:26

```

---

<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: [October 27, 2019, 9:58am UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/2 "2019-10-27T09:58:45Z")

</div>

Try re-installing julia-client (potentially with closing Atom, `apm uninstall julia-client`, `apm install julia-client` in a terminal).

---

<div class="post-metadata">

### Author: ![rocflight83](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rocflight83](https://discourse.julialang.org/u/rocflight83)
#### Post date: [October 27, 2019, 2:35pm UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/3 "2019-10-27T14:35:35Z")

</div>

Now I’m getting Failed to activate the julia-client package error at startup.

Tried both install/uninstall from atom as well as from terminal

```julia
Cannot read property 'fromId' of undefined
Hide Stack Trace
TypeError: Cannot read property 'fromId' of undefined
    at Object.activate (file:///C:/Users/pengl/.atom/packages/julia-client/lib/runtime/outline.js:12:22)
    at Object.consumeInk (file:///C:/Users/pengl/.atom/packages/julia-client/lib/runtime.coffee:33:11)
    at Object.consumeInk (file:///C:/Users/pengl/.atom/packages/julia-client/lib/julia-client.coffee:120:7)
    at Provider.provide (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:14:1125283)
    at ServiceHub.consume (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:3308657)
    at Package.activateServices (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:3316889)
    at Package.activateNow (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:3313644)
    at measure (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:3312968)
    at Package.measure (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:3310578)
    at activationPromise.activationPromise.Promise (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:3312828)
    at new Promise (<anonymous>)
    at Package.activate (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:3312771)
    at PackageManager.activatePackage (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:382554)
    at C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:940004
    at r (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:934610)
    at n (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:14:1128190)
    at ChildProcess.o.process.on.e (C:\Users\pengl\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:14:1128396)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)

```

---

<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: [October 27, 2019, 2:46pm UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/4 "2019-10-27T14:46:55Z")

</div>

Do you have ink installed properly?

---

<div class="post-metadata">

### Author: ![rocflight83](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rocflight83](https://discourse.julialang.org/u/rocflight83)
#### Post date: [October 27, 2019, 2:52pm UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/5 "2019-10-27T14:52:16Z")

</div>

Updated ink and everything back to normal

What was the issue initially? Is it just a matter of promptly updating packages in atom?

---

<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: [October 27, 2019, 2:54pm UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/6 "2019-10-27T14:54:38Z")

</div>

The initial issue is that the update to Atom 1.41 silently broke a native dependency Juno relies on. In theory Atom should detect that and ask you to rebuild julia-client, but for some reason that failed with the last update; hence the need to reinstall manually. No idea why ink broke though, that shouldn’t have happened.

---

<div class="post-metadata">

### Author: ![rocflight83](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rocflight83](https://discourse.julialang.org/u/rocflight83)
#### Post date: [October 27, 2019, 2:56pm UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/7 "2019-10-27T14:56:03Z")

</div>

When I noticed the initial error, I had not updated atom manually though. Was there an auto update?

---

<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: [October 27, 2019, 2:56pm UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/8 "2019-10-27T14:56:31Z")

</div>

Yes, Atom auto-updates on Windows (and maybe on macOS as well).

---

<div class="post-metadata">

### Author: ![rocflight83](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rocflight83](https://discourse.julialang.org/u/rocflight83)
#### Post date: [October 27, 2019, 2:56pm UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/9 "2019-10-27T14:56:48Z")

</div>

Ok, I see. Thanks!

---

<div class="post-metadata">

### Author: ![Carol](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carol/32/8140_2.png) [@Carol](https://discourse.julialang.org/u/Carol)
#### Post date: [November 19, 2019, 3:34am UTC](https://discourse.julialang.org/t/juno-ide-repl-conpty-error-while-starting-julia-session/30355/10 "2019-11-19T03:34:39Z")

</div>

How did you solve this? I met the same problem.
