-
Notifications
You must be signed in to change notification settings - Fork 922
Closed
Labels
good first issueGood for newcomersGood for newcomersstaleupstream bugBug from upperchain or other tools, env, etc.Bug from upperchain or other tools, env, etc.
Description
Description
If you use ^2.0.0-beta.xx
for any packages in this repo, you may get an installation failure, or you may get your app broke when upgrading to latest next
version.
This is because we published 2 test versions 2.0.0-beta.50-pre.0
, 2.0.0-beta.50-pre.1
, while 50-pre.x
is higher than any number xx
.
Solution
The easiest way to solve this is to upgrade vuepress with vp-update
.
For:
npx vp-update
yarn dlx vp-update
pnpm dlx vp-update
Manual solution
You can solve this issue by specifying exact version in package.json. e.g.:
{
"dependencies": {
"@vuepress/client": "2.0.0-beta.62",
"vue": "^3.3.4",
"vuepress": "2.0.0-beta.62"
}
Note that all the ^
or ~
marker shall be changed for packages in this repo, but you can keep others as is.
{
"dependencies": {
- "@vuepress/client": "~2.0.0-beta.62",
- "@vuepress/client": "^2.0.0-beta.62",
+ "@vuepress/client": "2.0.0-beta.62",
"vue": "^3.3.4",
- "vuepress": "~2.0.0-beta.62",
- "vuepress": "^2.0.0-beta.62",
+ "vuepress": "2.0.0-beta.62"
}
Also you can use next
tag (But we do not recommend this because we may introduce breaking changes in future versions)
{
"dependencies": {
"@vuepress/client": "next",
"vue": "^3.3.4",
"vuepress": "next"
}
DrAugus
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersstaleupstream bugBug from upperchain or other tools, env, etc.Bug from upperchain or other tools, env, etc.