The vscode-stylelint extension keeps in repeatedly crashing after moving to Cursor. This does not happen on VSCode.
Node.js v20.9.0
[Info - 9:39:52 AM] Connection to server got closed. Server will restart.
[Info - 9:39:52 AM] [language-server] Registering module | module: "auto-fix"
[Info - 9:39:52 AM] [language-server] Module registered | module: "auto-fix"
[Info - 9:39:52 AM] [language-server] Registering module | module: "code-action"
[Info - 9:39:52 AM] [language-server] Module registered | module: "code-action"
[Info - 9:39:52 AM] [language-server] Registering module | module: "completion"
[Info - 9:39:52 AM] [language-server] Module registered | module: "completion"
[Info - 9:39:52 AM] [language-server] Registering module | module: "formatter"
[Info - 9:39:52 AM] [language-server] Module registered | module: "formatter"
[Info - 9:39:52 AM] [language-server] Registering module | module: "old-stylelint-warning"
[Info - 9:39:52 AM] [language-server] Module registered | module: "old-stylelint-warning"
[Info - 9:39:52 AM] [language-server] Registering module | module: "validator"
[Info - 9:39:52 AM] [language-server] Module registered | module: "validator"
[Info - 9:39:52 AM] [language-server] Starting language server
[Info - 9:39:52 AM] [language-server] Registering handlers
[Info - 9:39:52 AM] [language-server] Handlers registered
[Info - 9:39:52 AM] [language-server] Language server started
node:events:492
throw er; // Unhandled 'error' event
^
Error: spawn /Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin) ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:292:12)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin)',
path: '/Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin)',
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});}}});",
''
]
}
Node.js v20.9.0
[Error - 9:39:52 AM] Connection to server got closed. Server will not be restarted.