Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
KarryCMT opened this issue May 1, 2024 · 11 comments
Open
1 task

Comments

@KarryCMT
Copy link

KarryCMT commented May 1, 2024

  • I confirm that this is an issue rather than a question.

image

Bug report

What is actually happening?

Other relevant information

  • 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
  • Which package manager did you use for the install(npm/cnpm/yarn/pnpm)? pnpm
@yxzlwz
Copy link
Contributor

yxzlwz commented May 2, 2024

I'm facing the same problem.

image

@yxzlwz
Copy link
Contributor

yxzlwz commented May 3, 2024

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

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

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

@recoluan
Copy link
Member

recoluan commented May 10, 2024

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

@recoluan
Copy link
Member

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

@KarryCMT
Copy link
Author

@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
Copy link

遇到了同样的问题,

@saurfang587
Copy link

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

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

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

确认可以搞定

@recoluan
Copy link
Member

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

@saurfang587
Copy link

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

牛哇,期待解决

@saurfang587
Copy link

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

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

@yxzlwz
Copy link
Contributor

yxzlwz commented May 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants