Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgParse missing from Project.toml? #281

Closed
zot opened this issue Oct 7, 2019 · 2 comments · Fixed by #304
Closed

ArgParse missing from Project.toml? #281

zot opened this issue Oct 7, 2019 · 2 comments · Fixed by #304

Comments

@zot
Copy link

zot commented Oct 7, 2019

julia --project=. juliac.jl --help produces this error:

julia --project=. juliac.jl --help
ERROR: LoadError: ArgumentError: Package ArgParse not found in current path:
- Run `import Pkg; Pkg.add("ArgParse")` to install the ArgParse package.

Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:887
 [2] include at ./boot.jl:328 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1105
 [4] include(::Module, ::String) at ./Base.jl:31
 [5] exec_options(::Base.JLOptions) at ./client.jl:295
 [6] _start() at ./client.jl:468
in expression starting at /main/home/bill/src/PackageCompiler.jl/juliac.jl:3

If I activate the project and add ArgParse, it runs and I can also compile a file.

juliac.jl also runs if I add ArgParse to the default environment without adding ArgParse to Project.toml.

@haarts
Copy link

haarts commented Nov 6, 2019

@zot
Copy link
Author

zot commented Nov 6, 2019

Derp! Curious...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants