Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc
I have typescript-notebook working locally, but when I try to use it while remote-sshed into another machine, executing cells will spin forever. The "TypeScript Kernel" output lists:
Starting node /home/<omitted>/.vscode-server/extensions/donjayamanne.typescript-notebook-2.0.6/out/extension/server/index.js & listening on 33199 & websock on 33119
Server Exited, error: [Error: spawn node ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)] {
errno: -2,
code: 'ENOENT',
syscall: 'spawn node',
path: 'node',
spawnargs: [
'--inspect=33199',
'/home/<omitted>/.vscode-server/extensions/donjayamanne.typescript-notebook-2.0.6/out/extension/server/index.js',
'--port=33119',
'--config=/tmp/tmp-6114-KFnCBzLRE3K5-.json'
]
}
Server Exited, code = -2
on my local machine (MacOS), I had been getting the same error and it turned out to be a PATH problem, so I'm guess something similar is going on here, but my attempts to fix it thus far have failed.
I have typescript-notebook working locally, but when I try to use it while remote-sshed into another machine, executing cells will spin forever. The "TypeScript Kernel" output lists:
on my local machine (MacOS), I had been getting the same error and it turned out to be a PATH problem, so I'm guess something similar is going on here, but my attempts to fix it thus far have failed.