vuepress-reco / vuepress-theme-reco

🎨 This is the repo for vuepress-theme-reco 2.
https://vuepress-theme-reco.recoluan.com
MIT License
538 stars 173 forks source link

本地build 报错 Cannot find package '@internal/routes' imported from #274

Closed KarryCMT closed 1 month ago

KarryCMT commented 1 month ago

image

Bug report

What is actually happening?

Other relevant information

yxzlwz commented 1 month ago

I'm facing the same problem.

image

yxzlwz commented 1 month ago

我目前在本地只有这个版本的依赖能跑通,您如果不着急使用新版本可以参考一下:

"dependencies": {
    "vuepress": "2.0.0-beta.66",
    "vuepress-theme-reco": "2.0.0-beta.67"
},

仓库:https://github.com/yxzlwz/blog

recoluan commented 1 month ago

其他用户反映 webpack 可以用,可以先用 webpack

recoluan commented 1 month ago

@yxzlwz @KarryCMT 你们用的版本都是什么啊,包括 vuepress、reco 主题、node

KarryCMT commented 1 month ago

@recoluan Your OS: Mac M1 Pro Node.js version: v20.12.2 VuePress version: 2.0.0-rc.9 VuePress-theme-reco version: 2.0.0-rc.9 pnpm

saurfang587 commented 1 month ago

遇到了同样的问题,

saurfang587 commented 1 month ago

我目前在本地只有这个版本的依赖能跑通,您如果不着急使用新版本可以参考一下:

"dependencies": {
    "vuepress": "2.0.0-beta.66",
    "vuepress-theme-reco": "2.0.0-beta.67"
},

仓库:https://github.com/yxzlwz/blog

确认可以搞定

recoluan commented 1 month ago

目前发现使用 pnpm 没问题,yarn 和 npm 有问题,继续排查

saurfang587 commented 1 month ago

目前发现使用 pnpm 没问题,yarn 和 npm 有问题,继续排查

牛哇,期待解决

saurfang587 commented 1 month ago

目前发现使用 pnpm 没问题,yarn 和 npm 有问题,继续排查 VuePress version: 2.0.0-rc.9 VuePress-theme-reco version: 2.0.0-rc.9

实测 pnpm依然无法 执行 build命令

yxzlwz commented 1 month ago

我的node16 18 20,除了vuepress66主题67外,尝试了许多版本的package都无法使用任何包管理器正常编译。beta以前的正常。