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.

Comprehensive install script

See original GitHub issue

As I’m experiencing troubles setting up the right dev environment on WSL, I thought it useful to solve it in an issue here. I’m on WSL x64 (Ubuntu 16.04) using Miniconda3.

I went through the jupyterlab contributing guide and the instructions on this repo and did the following in a folder /mnt/d/jlab/:

conda create -n monaco
source activate monaco
conda install -c conda-forge nodejs notebook nb_conda_kernels
git clone https://github.com/<your-github-username>/jupyterlab.git
cd jupyterlab
pip install -e .
jlpm install
jlpm run build  # Build the dev mode assets (optional)
jlpm run build:core  # Build the core mode assets (optional)
jupyter lab build  # Build the app dir assets (optional)
cd ..
git clone https://github.com/jupyterlab/jupyterlab-monaco.git
cd jupyterlab-monaco
yarn install
yarn run build
jupyter labextension link .

That final command sometimes ends up in an infinite loop, supplying dev mode argument helps it to pass. I tried experimenting with rebuilding after I made the changes in that config.json you mentioned somewhere, but I can’t get it to work.

I can start JupyterLab with the default command, but the text editor is still codemirror.

Would you mind helping out with a comprehensive bash file that should work in principle? Did I forget anything or got something wrong?

I guess it’s just “first-timer” issues.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TiemenSchcommented, Jun 12, 2018

You should get a Monaco editor when you open a non-notebook file. At least the first time you open it it should work. The current implementation is a very blunt one. You can recognize it by the minimap on the right hand side.

Any luck?

1reaction
jasongroutcommented, Apr 20, 2018

(In fact, if you’re just using the extension instead of developing it, you could do jupyter labextension install . instead of linking it)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running the INSTALL Script (for 2.2 and older)
The INSTALL script will guide you through the installation process. For each component, the INSTALL script will prompt you for an installation directory....
Read more >
Add a Custom Script to Windows Setup | Microsoft Learn
Add a Custom Script to Windows Setup · Windows setup scripts · Run a script after setup is complete (SetupComplete.cmd) · Run a...
Read more >
Creating Installation Scripts
You do not have to supply any package installation scripts. However, if you want to create customized installation procedures for your package, you...
Read more >
Installation script options - Veritas SORT
Installation script options ; -patch4_path. Defines the path of a fourth patch level release to be integrated with a base or a maintenance...
Read more >
Install Arch Linux Using archinstall Automated Script [Tutorial]
Once the boot is complete, you should see a prompt like the below. Type archinstall and hit enter. ... The command will check...
Read more >

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