Closed aoleou closed 9 months ago
revert to vue3.3 plz as a workaround
This is like spaceX rocket, it is really fast reply, thanks
revert to vue3.3
You mean change the package.json
file like bellow?
{
"name": "@vuepress/docs",
"version": "2.0.0-rc.0",
"private": true,
"type": "module",
"scripts": {
"docs:build": "vuepress-cli build docs --clean-cache --clean-temp",
"docs:build-webpack": "DOCS_BUNDLER=webpack pnpm docs:build",
"docs:clean": "rimraf docs/.vuepress/.temp docs/.vuepress/.cache docs/.vuepress/dist",
"docs:dev": "vuepress-cli dev docs --clean-cache --clean-temp",
"docs:dev-webpack": "DOCS_BUNDLER=webpack pnpm docs:dev",
"docs:serve": "anywhere -s -h localhost -d docs/.vuepress/dist",
"format": "prettier --write .",
"lint": "eslint --ext .cjs,.js,.ts,.vue . && prettier --check .",
"release": "pnpm release:check && pnpm release:bump",
"release:bump": "bumpp --commit \"build: publish v%s\"",
"release:check": "pnpm lint && pnpm clean && pnpm build"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.{cjs,js,ts,vue}": "eslint --fix",
"package.json": "sort-package-json"
},
"prettier": "prettier-config-vuepress",
"dependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.0",
"@vuepress/bundler-webpack": "2.0.0-rc.0",
"@vuepress/cli": "2.0.0-rc.0",
"@vuepress/client": "2.0.0-rc.0",
"@vuepress/core": "2.0.0-rc.0",
"@vuepress/plugin-back-to-top": "2.0.0-rc.0",
"@vuepress/plugin-docsearch": "2.0.0-rc.0",
"@vuepress/plugin-external-link-icon": "2.0.0-rc.0",
"@vuepress/plugin-google-analytics": "2.0.0-rc.0",
"@vuepress/plugin-medium-zoom": "2.0.0-rc.0",
"@vuepress/plugin-nprogress": "2.0.0-rc.0",
"@vuepress/plugin-pwa-popup": "2.0.0-rc.0",
"@vuepress/plugin-register-components": "2.0.0-rc.0",
"@vuepress/plugin-search": "2.0.0-rc.0",
"@vuepress/plugin-shiki": "2.0.0-rc.0",
"@vuepress/theme-default": "2.0.0-rc.0",
"@vuepress/utils": "2.0.0-rc.0",
"anywhere": "^1.6.0",
"sass-loader": "^13.3.3",
"vue": "^3.3.13" // change to "vue": "^3.3.0"?
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"bumpp": "^9.2.1",
"eslint": "^8.56.0",
"eslint-config-vuepress": "^4.10.0",
"eslint-config-vuepress-typescript": "^4.10.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"prettier-config-vuepress": "^4.4.0",
"rimraf": "^5.0.5",
"sort-package-json": "^2.6.0",
"tsconfig-vuepress": "^4.5.0",
"typescript": "^5.3.3"
},
"packageManager": "pnpm@8.13.1",
"engines": {
"node": ">=18.16.0"
}
}
plz as a workaround
Is this mean close the issue? Even I change to this "vue": "^3.3.0"
, it also have warn and error in console of chrome.
Nope, 3.3.13, without the ^
@meteorlxy we need to continue rolling out a new version compatible with vue3.4. Any progress with the ts bug?
Amazing! It seem like the problem is solved. Thank you Master Hope. And I am wondering where the code in the repo of vue or vuepress make the warn and error above. I mean how to debug the error like this kind of problem?
Description
Hi, thanks for create this project, and I find a may be bug in below, plz help me to resolve this. clone
https://github.com/vuepress/docs.git
, and delete thepnpm-lock.yaml
file, and run the commandpnpm install && pnpm run docs:dev
, it will have the warn:and error:
in the console of chrome, and there is no sidebar in the web reproduction: https://github.com/aoleou/docs2.git