-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm create vue@3
doesn't seem to always grab the latest version
#157
Comments
npm create vue@3
doesn't seem to always grab the latest version
This is essentially crappy behavior of |
Maybe I have the same problem. When I use |
Isn't the vite way to do Why is |
They are different templates with different features. |
@segevfiner So this would be the same |
|
Thanks. And sorry. I shouldn't abduct the issue for a StackOverflow question. |
I am experiencing a similar issue. Whenever I use the command Is there a way to clear the npm cache? |
npx clear-npx-cache |
I dug a bit more in the npm source code, and now I realize it's never safe to rely on Before npm/cli#5244 (npm v8.16.0), there were several bugs in the I think I need to update the documentations to use |
See explanation at vuejs/create-vue#157 (comment) Fixes #157
Even using
npm create vue@3
doesn't seem to always use the latest version, perhaps it needs to point to some dist-tag instead? Oh man, the behavior of npm/npx here is so confusing... and seems practically undocumented.See: f4ac339#commitcomment-83124443
The text was updated successfully, but these errors were encountered: