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

Incorrect Path Access with Non-LTS Node.js in nodeenv #371

Open
kolvin opened this issue Oct 17, 2024 · 1 comment
Open

Incorrect Path Access with Non-LTS Node.js in nodeenv #371

kolvin opened this issue Oct 17, 2024 · 1 comment

Comments

@kolvin
Copy link

kolvin commented Oct 17, 2024

Hey 👋🏻

I was asked by a downstream project to share this issue with you.

The issue involves an error where npm is trying to access the incorrect path (ib/ instead of lib/) when non-LTS versions of Node.js (like v23.0.0+) are installed via nodeenv. This causes an ENOENT error, and the problem arises specifically with versions of Node.js that are not LTS. The suggestion is to default to LTS or allow a configuration option for specifying the Node.js version in nodeenv.

See this issue for more details -> pre-commit/pre-commit#3339

@jasonwashburn
Copy link

fyi, this appears to be related to an bug in the node 23 release. Issue here: nodejs/node#55410

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