You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeoman chooses the generator installed by npx over that installed globally.
Current behavior
When executing with npx, generator version is not applied when another version is installed globally
Steps to reproduce the behavior
Install Yeoman and a generator globally npm i -g yo generator-generator
Run npx command with another version of generator npx -p yo -p [email protected] -- yo generator-generator. The globally installed generator (latest) is used instead of 3.0.0
The text was updated successfully, but these errors were encountered:
Type of issue
Bug?
My environment
Windows 10 64-bit
10.11.0
6.5.0
2.0.5
Expected behavior
Yeoman chooses the generator installed by npx over that installed globally.
Current behavior
When executing with npx, generator version is not applied when another version is installed globally
Steps to reproduce the behavior
npm i -g yo generator-generator
npx -p yo -p [email protected] -- yo generator-generator
. The globally installed generator (latest) is used instead of3.0.0
The text was updated successfully, but these errors were encountered: