Closed prothSFDC closed 1 year ago
After reviewing further, it seems that you can list the jupyter kernels like the following:
jupyter kernelspec list
javascript ~/Library/Jupyter/kernels/javascript
python3 ~/opt/anaconda3/share/jupyter/kernels/python3
That showed me the javascript kernel held here: ~/Library/Jupyter/kernels/javascript/kernel.json
it turns out that kernel.json file does indeed hold the link to the old nvm version and global path
{
"argv":
[
"~/.nvm/versions/node/v18.15.0/bin/node",
"~/.nvm/versions/node/v18.15.0/lib/node_modules/ijavascript/lib/kernel.js",
"--hide-undefined","{connection_file}","--protocol=5.1"
],
"display_name":"JavaScript (Node.js)",
"language":"javascript"
}
Changing the versions there and then rerunning jupyter seemed to solve the problem.
@prothSFDC ~/Library/Jupyter/kernels/javascript
is a local kernel spec. To update local kernel specs, run ijsinstall
without the option --global
:
ijsinstall --spec-path=full
Recently updated my nvm version to 18.15.0 but upon starting up a nodebook with the JavaScript kernel, it was giving me an error similar to the following as soon as it would load up
I installed the iJavaScript npm package, and linked it, and still had the error continue to occur:
the old version was indeed
v16.17.1
, but the new version ofv18.15.0
wasn't being recognized.