Closed Its-Alex closed 6 years ago
It seems like you have not install Node.js
.
Because extension launch a server written by Node.js in local server mode.
And I will fix this error in the next version (replace spawn
to fork
)
~I have installed nodejs, I use nvm, can be due to this ?~
This is because of nvm thanks
Lol, yes. Because nvm
initialize node
npm
npx
after terminal start .bashrc
.
And you can wait a moment, I will comment a temporary solve codes in here later.
And what operation system you are using now?
If you want keep your nvm
environment. you can change some place in the extension sources:
Directory:
$HOME/.vscode-insiders/hangxingliu.vscode-coding-tracker-xxx/
File:
lib/LocalServer.js
Line 35:
{ fork, spawn, exec } = require('child_process'),
Line 112:
var s = fork(EXECUTE_PARAMETERS[0], _getLaunchParameters().slice(1), { cwd: EXECUTE_CWD, silent: true });
And I will commit this patch to thr repository later
Thanks ! I will try this
I run this extension with visual studio code insiders, and I have this error
This could be because extensions directory is
~/.vscode-insiders
instead of~/.vscode
?