Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Ensure npm install spawns correct node executable #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alshain
Copy link

@alshain alshain commented Jan 3, 2019

Some node install scripts launch child node processes. Because I already have a global node installation on the path, this will invoke it with a different node installation which breaks many install scripts.

This fix should prevent that.

@alshain
Copy link
Author

alshain commented Jan 3, 2019

It would be nice if this could also be backported to 0.37

@snrostov
Copy link
Contributor

Sorry for long delay. Does adding .npmrc file with scripts-prepend-node-path=true solves this problem?

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

Successfully merging this pull request may close these issues.

None yet

2 participants