Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

npx vs npm #155

Open
twerske opened this issue Nov 4, 2021 · 1 comment
Open

npx vs npm #155

twerske opened this issue Nov 4, 2021 · 1 comment

Comments

@twerske
Copy link
Collaborator

twerske commented Nov 4, 2021

v13 updates are npx commands and probably should be npm commands?

@Den-dp
Copy link

Den-dp commented Nov 25, 2021

This one is tricky, b/c the command is perfectly fine but it doesn't work as expected if npm@7 or 8 is used npm/cli#3210

Consider the situation when you migrate from 11 to 12 https://update.angular.io/?v=11.0-12.0

The guide will suggest the following:

image

If I run it via something newer than npm@6 - npx will ignore the specified version and will pull the latest one which is 13 (and not 12).

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

No branches or pull requests

2 participants