question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Packaged macOS app unable to launch server

See original GitHub issue

Hi,

I followed the instructions in the README to build the electron app, which I can launch no problem from the command line using npm run build:all. I also packaged the app into an osx .app using npm run dist, and moved the app contained in the resulting dist/JupyterLab.dmg into /Applications. When I run the packaged app, I only get the screen

Jupyter Server Not Found

We were unable to launch a Jupyter server, which is a prerequisite for JupyterLab Native. If Jupyter is already installed, but it is not in your PATH, specify its location below. Otherwise, try installing or updating Jupyter. The Jupyter notebook version must be 4.3.0 or greater.

CHOOSE PATH | INSTALL JUPYTER

Jupyter is definitely on my path:

$ which jupyter 
/Users/{username}/anaconda/bin/jupyter

I’ve pointed the app at every reasonable binary in /Users/{username}/anaconda/bin but with no success.

My versions are

jupyter==1.0.0
jupyter-client==5.2.2
jupyter-console==5.2.0
jupyter-core==4.4.0
jupyterlab==0.31.8
jupyterlab-launcher==0.10.5
notebook==5.4.0

and I’m on macOS version 10.12.6 (16G1212).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
declanvkcommented, Mar 8, 2018

Hello @JohnPaton, If you’re running on OSX there is the possibility that your environment variables, namely $PATH and by extension your jupyter and python executables, are not being updated on the start of the application. PR #150 should hopefully provide a solution.

0reactions
declanvkcommented, Mar 14, 2018

@JohnPaton Anytime! Closing, but if you need to, please re-open at any point.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found