# Cannot use Juno with Atom, Atom package precompilation failed

**URL:** <https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208>\
**Category:** Juno\
**Created:** [January 2, 2019, 9:40pm UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208 "2019-01-02T21:40:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ig-or](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ig-or/32/4975_2.png) [@ig-or](https://discourse.julialang.org/u/ig-or)\
**Post date:** [January 2, 2019, 9:40pm UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/1 "2019-01-02T21:40:45Z")

</div>

Probably I’m doing something wrong, but I cannot set up juno with Atom.  
Julia version 1.0.3;

In the end, it shows following backtrace:

Starting Julia…  
[Info: Precompiling Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1]  
ERROR: LoadError: LoadError: UndefVarError: IMMUTABLE not defined  
Stacktrace:  
[1] getproperty(::Module, ::Symbol) at .\sysimg.jl:13  
[2] top-level scope at none:0  
[3] include at .\boot.jl:317 [inlined]  
[4] include\_relative(::Module, ::String) at .\loading.jl:1044  
[5] include at .\sysimg.jl:29 [inlined]  
[6] include(::String) at C:\Users\isandler\space\jdepot\packages\CodeTools\64cI5\src\CodeTools.jl:1  
[7] top-level scope at none:0  
[8] include at .\boot.jl:317 [inlined]  
[9] include\_relative(::Module, ::String) at .\loading.jl:1044  
[10] include(::Module, ::String) at .\sysimg.jl:29  
[11] top-level scope at none:2  
[12] eval at .\boot.jl:319 [inlined]  
[13] eval(::Expr) at .\client.jl:393  
[14] top-level scope at .\none:3  
in expression starting at C:\Users\isandler\space\jdepot\packages\CodeTools\64cI5\src\module.jl:55  
in expression starting at C:\Users\isandler\space\jdepot\packages\CodeTools\64cI5\src\CodeTools.jl:7  
ERROR: LoadError: LoadError: Failed to precompile CodeTools [53a63b46-67e4-5edd-8c66-0af0544a99b9] to C:\Users\isandler\space\jdepot\compiled\v1.0\CodeTools\8fUnH.ji.  
Stacktrace:  
[1] error(::String) at .\error.jl:33  
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203  
[3] \_require(::Base.PkgId) at .\loading.jl:960  
[4] require(::Base.PkgId) at .\loading.jl:858  
[5] require(::Module, ::Symbol) at .\loading.jl:853  
[6] include at .\boot.jl:317 [inlined]  
[7] include\_relative(::Module, ::String) at .\loading.jl:1044  
[8] include at .\sysimg.jl:29 [inlined]  
[9] include(::String) at C:\Users\isandler\space\jdepot\packages\Atom\WUITc\src\Atom.jl:3  
[10] top-level scope at none:0  
[11] include at .\boot.jl:317 [inlined]  
[12] include\_relative(::Module, ::String) at .\loading.jl:1044  
[13] include(::Module, ::String) at .\sysimg.jl:29  
[14] top-level scope at none:2  
[15] eval at .\boot.jl:319 [inlined]  
[16] eval(::Expr) at .\client.jl:393  
[17] top-level scope at .\none:3  
in expression starting at C:\Users\isandler\space\jdepot\packages\Atom\WUITc\src\eval.jl:1  
in expression starting at C:\Users\isandler\space\jdepot\packages\Atom\WUITc\src\Atom.jl:31  
ERROR: LoadError: Failed to precompile Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1] to C:\Users\isandler\space\jdepot\compiled\v1.0\Atom\w9XOh.ji.  
Stacktrace:  
[1] error(::String) at .\error.jl:33  
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203  
[3] \_require(::Base.PkgId) at .\loading.jl:960  
[4] require(::Base.PkgId) at .\loading.jl:858  
[5] require(::Module, ::Symbol) at .\loading.jl:853  
[6] top-level scope at C:\Users\isandler.atom\packages\julia-client\script\boot\_repl.jl:31  
[7] include at .\boot.jl:317 [inlined]  
[8] include\_relative(::Module, ::String) at .\loading.jl:1044  
[9] include(::Module, ::String) at .\sysimg.jl:29  
[10] exec\_options(::Base.JLOptions) at .\client.jl:266  
[11] \_start() at .\client.jl:425  
in expression starting at C:\Users\isandler.atom\packages\julia-client\script\boot\_repl.jl:1

---

<div class="post-metadata">

**Author:** ![yutec](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yutec/32/4312_2.png) [@yutec](https://discourse.julialang.org/u/yutec)\
**Post date:** [January 3, 2019, 6:06am UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/2 "2019-01-03T06:06:58Z")

</div>

I’m also reporting the same issue. Juno is no longer working since yesterday.

---

<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:** [January 3, 2019, 10:13am UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/3 "2019-01-03T10:13:12Z")

</div>

See  
[https://github.com/JunoLab/CodeTools.jl/issues/31](https://github.com/JunoLab/CodeTools.jl/issues/31)

Will be fixed by `pkg> up` once  
[https://github.com/JuliaLang/METADATA.jl/pull/20317](https://github.com/JuliaLang/METADATA.jl/pull/20317)

is merged. In the meantime you should also be able to solve the issue with

```julia
pkg> pin Tokenize@0.5.2

```

---

<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:** [January 3, 2019, 10:52am UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/4 "2019-01-03T10:52:47Z")

</div>

Alright, the METADATA PR is merged, so everything should work again after the next `pkg> up`.

---

<div class="post-metadata">

**Author:** ![ig-or](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ig-or/32/4975_2.png) [@ig-or](https://discourse.julialang.org/u/ig-or)\
**Post date:** [January 3, 2019, 6:53pm UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/5 "2019-01-03T18:53:29Z")

</div>

Working! Thank you very much!!!

---

<div class="post-metadata">

**Author:** ![yutec](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yutec/32/4312_2.png) [@yutec](https://discourse.julialang.org/u/yutec)\
**Post date:** [January 3, 2019, 8:42pm UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/6 "2019-01-03T20:42:46Z")

</div>

Thanks a lot for the support!

---

<div class="post-metadata">

**Author:** ![chuljang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chuljang/32/6608_2.png) [@chuljang](https://discourse.julialang.org/u/chuljang)\
**Post date:** [January 4, 2019, 2:08pm UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/7 "2019-01-04T14:08:43Z")

</div>

Thank you so much. It just works after `up`.

---

<div class="post-metadata">

**Author:** ![HelgavonLichtenstein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgavonlichtenstein/32/5005_2.png) [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Post date:** [January 7, 2019, 9:34am UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/8 "2019-01-07T09:34:36Z")

</div>

Hello,

I am having the same problem but I cannot interrupt Julia (?) and type `up`. I think the REPL is still running? What should I try to do?

---

<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:** [January 7, 2019, 9:37am UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/9 "2019-01-07T09:37:17Z")

</div>

You’ll need to start Julia (e.g. by navigating to the path you gave in the julia-client settings and opening the Julia binary there) outside of Juno once to use that command.

---

<div class="post-metadata">

**Author:** ![HelgavonLichtenstein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgavonlichtenstein/32/5005_2.png) [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Post date:** [January 7, 2019, 9:40am UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/10 "2019-01-07T09:40:14Z")

</div>

Thank you! It worked!

---

<div class="post-metadata">

**Author:** ![mjohnson7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mjohnson7/32/6748_2.png) [@mjohnson7](https://discourse.julialang.org/u/mjohnson7)\
**Post date:** [January 15, 2019, 8:26pm UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/11 "2019-01-15T20:26:25Z")

</div>

after running

pkg\> up

it still isn’t working.  
[no changes] for both Project.toml and Manifest.toml

---

<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:** [January 16, 2019, 9:26am UTC](https://discourse.julialang.org/t/cannot-use-juno-with-atom-atom-package-precompilation-failed/19208/12 "2019-01-16T09:26:31Z")

</div>

What does `pkg> status` return?
