microsoft / vscode-jshint

VSCode extension to integrate jshint into VSCode
https://marketplace.visualstudio.com/items?itemName=dbaeumer.jshint
MIT License
72 stars 48 forks source link

events.js:177 error #80

Open ubaranouski opened 5 years ago

ubaranouski commented 5 years ago

events.js:177 throw er; // Unhandled 'error' event ^

Error: spawn C:\Program Files\Microsoft VS Code\Code.exe ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19) at onErrorNT (internal/child_process.js:456:16) at processTicksAndRejections (internal/process/task_queues.js:84:9) Emitted 'error' event at: at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12) at onErrorNT (internal/child_process.js:456:16) at processTicksAndRejections (internal/process/task_queues.js:84:9) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn C:\Program Files\Microsoft VS Code\Code.exe', path: 'C:\Program Files\Microsoft VS Code\Code.exe', spawnargs: [ '-e', 'var p = ' + "process;p.on('message',function(m){if(m.c==='e'){p.exit(0);}else " + "if(m.c==='rs'){try{var " + "r=require.resolve(m.a);p.send({c:'r',s:true,r:r});}catch(err){p.send({c:'r',s:false});}}});", '' ] } [Info - 10:08:47 PM] Connection to server got closed. Server will restart. events.js:177 throw er; // Unhandled 'error' event ^

Error: spawn C:\Program Files\Microsoft VS Code\Code.exe ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19) at onErrorNT (internal/child_process.js:456:16) at processTicksAndRejections (internal/process/task_queues.js:84:9) Emitted 'error' event at: at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12) at onErrorNT (internal/child_process.js:456:16) at processTicksAndRejections (internal/process/task_queues.js:84:9) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn C:\Program Files\Microsoft VS Code\Code.exe', path: 'C:\Program Files\Microsoft VS Code\Code.exe', spawnargs: [ '-e', 'var p = ' + "process;p.on('message',function(m){if(m.c==='e'){p.exit(0);}else " + "if(m.c==='rs'){try{var " + "r=require.resolve(m.a);p.send({c:'r',s:true,r:r});}catch(err){p.send({c:'r',s:false});}}});", '' ] }

============================================================ jshint 2.10.3 vscode-jshint 0.10.21 VSCode 1.40.2 Windows 8.1 Pro