求助:更新了最新的版本后启动项目有一些错误信息
Closed this issue · 1 comments
shylock-wu commented
截图
package.json
{
"scripts": {
"dev": "vuepress dev src",
"build": "vuepress build src",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.1",
"@vuepress/bundler-vite": "2.0.0-rc.14",
"eslint": "^8.56.0",
"eslint-plugin-format": "^0.1.0",
"tsconfig-vuepress": "^4.5.0",
"typescript": "^5.4.3",
"vue": "^3.4.30",
"vuepress": "2.0.0-rc.14",
"vuepress-theme-plume": "1.0.0-rc.70"
}
}
但是项目能正常打开,控制台也没报错。。。
pengzhanbo commented
我新建了一个全新的项目,但没有出现相关的错误提示。
我猜测着可能是你的项目的依赖出现了一些问题。可以尝试删除 node_modules
目录重新安装依赖,
如果依然出现问题,尝试包括 pnpm-lock.yaml
也一起删除,再重新安装依赖。