Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reserved NODE_PATH is used in this project #30

Open
qRoC opened this issue Feb 17, 2023 · 2 comments
Open

Reserved NODE_PATH is used in this project #30

qRoC opened this issue Feb 17, 2023 · 2 comments

Comments

@qRoC
Copy link

qRoC commented Feb 17, 2023

NODE_PATH is reserved env variable (https://nodejs.org/api/modules.html)

@mbarneyjr
Copy link

I just hit this issue too.

NODE_PATH is an environment variable that's meant to point to a node_modules directory that a node process will be able to import from. This environment variable is not meant to point to a node executable. This environment variable is set on my machine to a node_modules directory, which means that this plugin tries to execute that directory, and fails to do so, leaving the following error message:

‼ ERROR [dap-js] Error trying to launch JS debugger: EACCES: permission denied

@mbarneyjr
Copy link

The quick workaround is to set node_path on this plugin's config as setup time, but I think a different default environment variable should be used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants