Skip to content

Use node in and fallback to PATH if not found#4778

Merged
lukekarrys merged 1 commit intonpm:latestfrom
elibus:npx-use-node-in-basedir-first
Apr 20, 2022
Merged

Use node in and fallback to PATH if not found#4778
lukekarrys merged 1 commit intonpm:latestfrom
elibus:npx-use-node-in-basedir-first

Conversation

@elibus
Copy link
Copy Markdown
Contributor

@elibus elibus commented Apr 19, 2022

Contrary to npm, npx does not check $basedir/node and fallbacks to node if $basedir/node is not found.

This pull request align the behaviour of npx with npm.

@elibus elibus requested a review from a team as a code owner April 19, 2022 21:20
Copy link
Copy Markdown
Member

@wraithgar wraithgar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you.

@lukekarrys lukekarrys merged commit a677f49 into npm:latest Apr 20, 2022
@ruyadorno ruyadorno mentioned this pull request Apr 26, 2022
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

Successfully merging this pull request may close these issues.

3 participants