tslab icon indicating copy to clipboard operation
tslab copied to clipboard

How to specify node version?

Open vincenzon opened this issue 2 years ago • 1 comments

I am running node 16.13:

user@406300f3eebc:~/tslab_test$ node --version
v16.13.0

But when I run tslab, it seems to be running 10.19.0:

image

Is it possible to have tslab run a later version of node?

vincenzon avatar May 05 '22 11:05 vincenzon

It should use whatever version you installed tslab in. If you're using nvm, switch to your preferred version i.e. nvm use <your_preferred_version>(if the version isn't installed then you'd have to install it using nvm install <your_preferred_version> and run your notebook. Oh, and this goes w/o saying that you'd have to install tslab in that version too. I suspect that you installed tslab in a completely different node environment than the one that is active when you launched your jupyter notebook.

shri3k avatar Dec 03 '22 18:12 shri3k