vscode-eslint: NODE_PATH not being set for Workspaces

I keep getting this error in my yarn berry workspaces repo.

[Trace - 3:42:13 PM] NODE_PATH value is: /Users/.../.local/share/nvm/v16.14.2/lib/node_modules
Uncaught exception received.
Error: spawn /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

eslint.nodePath has been set both in the .vscode/settings.json file and in the screeps-ai.code-workspace file.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 16 (6 by maintainers)

Most upvoted comments

@MariaSolOs Sorry, I should have pushed. Funny thing - I must have missed something before, as I just recreated it and now it seems to work 😃 I moved my repo to GitLab, as I wanted to play around with that provider a bit. Guessing I cannot keep my .eslintrc.yml though, as I need __dirname? 😦

Thank you!