Run npm install under right Node.js version
Open
Nobody has claimed this yet.
T: Bug
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
"interpreter" : "node@4.1.8"
-> this does not run npm install with node 4.1.8
https://github.com/Unitech/pm2/blob/master/lib/API/Modules/Modularizer.js#L123
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at lib/API/Modules/Modularizer.js around line 123 and trace how the "interpreter": "node@4.1.8" setting is handled during npm install. Reproduce the install path and verify that npm runs under Node.js 4.1.8 rather than the default Node.js version; done means the configured interpreter is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100