Why julia exit from REPL?

I reproduced the issue with setting
set JULIA_COPY_STACKS=1
as you did in

So, you should remove this environment variable again.

Than I created a new julia environment to check Taro.jl and added it without any problem:

(v1.3) pkg> activate .
Activating new environment at `C:\Users\USER\.julia\environments\Taro\Project.toml`

(Taro) pkg> add Taro.jl
 Resolving package versions...
 Installed WinReg ─── v0.3.1
 Installed JavaCall ─ v0.7.3
 Installed Taro ───── v0.8.0
  Updating `C:\Users\USER\.julia\environments\Taro\Project.toml`
  [61d0e4fa] + Taro v0.8.0
  Updating `C:\Users\USER\.julia\environments\Taro\Manifest.toml`
  [9a962f9c] + DataAPI v1.1.0
  [864edb3b] + DataStructures v0.17.10
  [e2d170a0] + DataValueInterfaces v1.0.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [494afd89] + JavaCall v0.7.3
  [bac558e1] + OrderedCollections v1.1.0
  [3783bdb8] + TableTraits v1.0.0
  [bd369af6] + Tables v0.2.11
  [61d0e4fa] + Taro v0.8.0
  [1b915085] + WinReg v0.3.1
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [b77e0a4c] + InteractiveUtils
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [de0858da] + Printf
  [9a3f8284] + Random
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [8dfed614] + Test
  [4ec0a83e] + Unicode
  Building Taro → `C:\Users\USER\.julia\packages\Taro\B3v9c\deps\build.log`

julia> versioninfo()
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
Environment:
  JULIA_PKGDIR = c:\Program Files\Julia-0.6.2\packages\
  JULIA_SHELL = C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

So, I am afraid, that your windows system is somehow messy.

1 Like