pengzhanbo / vuepress-theme-plume

Vuepress Theme. A simple, feature-rich, document & blog
https://theme-plume.vuejs.press
MIT License
48 stars 11 forks source link

求助:更新了最新的版本后启动项目有一些错误信息 #103

Closed shylock-wu closed 1 day ago

shylock-wu commented 4 days ago

截图

CleanShot 2024-06-24 at 17 10 43@2x

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 4 days ago

我新建了一个全新的项目,但没有出现相关的错误提示。 我猜测着可能是你的项目的依赖出现了一些问题。可以尝试删除 node_modules 目录重新安装依赖, 如果依然出现问题,尝试包括 pnpm-lock.yaml 也一起删除,再重新安装依赖。