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

DEMO本地运行报错 #68

Closed
605666069 opened this issue Aug 16, 2022 · 7 comments
Closed

DEMO本地运行报错 #68

605666069 opened this issue Aug 16, 2022 · 7 comments

Comments

@605666069
Copy link

image

@yiludege
Copy link
Collaborator

我本地重新 clone 运行没有问题,注意运行 demo 的脚本

npm i                   // 安装包依赖
npx husky install       // Enable Git hooks
npm i -g lerna          // 安装 lerna
lerna bootstrap         // 安装所有子应用包依赖
npm run start           // 启动子应用

node版本 14~16都没问题

@605666069
Copy link
Author

是需要在主应用下执行吧 我是把main-vue 单独拉出来执行了

@yiludege
Copy link
Collaborator

这些命令是直接在 wujie 目录下运行,不用单独到 example 内去运行

@605666069
Copy link
Author

image
我的lerna 版本是 5.3.0 请问您的版本是多少

@yiludege
Copy link
Collaborator

和 lerna 的版本无关,安装 vue2 的依赖报错了,看看是什么错误,node的版本是什么呢?

@605666069
Copy link
Author

node 版本v14.17.0

@Xchen1995
Copy link
Contributor

node版本升级一下 需要16以上.. 14装一些angular2报错了

@yiludege yiludege closed this as completed Sep 6, 2022
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

3 participants