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

cannot install labextension #364

Closed
AshtonSBradley opened this issue Nov 30, 2019 · 2 comments · Fixed by #365
Closed

cannot install labextension #364

AshtonSBradley opened this issue Nov 30, 2019 · 2 comments · Fixed by #365

Comments

@AshtonSBradley
Copy link

The bug

WebIO not detected in jupyterlab. Installs fine for regular notebook.

Context

julia> WebIO.install_jupyter_labextension(WebIO.find_jupyter_cmd(),force_conda_jupyter=true)
An error occured.
ValueError: No linked package for @webio/webio
See the log file for details:  /var/folders/zw/s31fj38120b91ttt4kzfy4240000gn/T/jupyterlab-debug-ho7uo346.log
An error occured.
ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.
See the log file for details:  /var/folders/zw/s31fj38120b91ttt4kzfy4240000gn/T/jupyterlab-debug-fm5rxo82.log
An error occured.
ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.
See the log file for details:  /var/folders/zw/s31fj38120b91ttt4kzfy4240000gn/T/jupyterlab-debug-xuhpjzo_.log
ERROR: failed process: Process(`/Users/brian/.julia/conda/3/bin/jupyter labextension install --no-build @webio/jupyter-lab-provider@0.8.11`, ProcessExited(1)) [1]
Stacktrace:
 [1] pipeline_error at ./process.jl:525 [inlined]
 [2] #run#565(::Bool, ::typeof(run), ::Cmd) at ./process.jl:440
 [3] run at ./process.jl:438 [inlined]
 [4] #install_jupyter_labextension#66(::Bool, ::Bool, ::typeof(WebIO.install_jupyter_labextension), ::Cmd) at /Users/brian/.julia/packages/WebIO/2mZPb/deps/jupyter.jl:159
 [5] (::WebIO.var"#kw##install_jupyter_labextension")(::NamedTuple{(:force_conda_jupyter,),Tuple{Bool}}, ::typeof(WebIO.install_jupyter_labextension), ::Cmd) at ./none:0
 [6] top-level scope at REPL[3]:1

with

julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.0.0)
  CPU: Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Pkg.status("WebIO")
    Status `~/.julia/environments/v1.3/Project.toml`
  [0f1e0344] WebIO v0.8.11
@AshtonSBradley
Copy link
Author

I tried Conda.add("nodejs") and rebuilding WebIO. The error persists.

@twavv
Copy link
Member

twavv commented Dec 2, 2019

I can reproduce this.

The solution is to add Conda's bin directory to the PATH environment variable.

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

Successfully merging a pull request may close this issue.

2 participants