wujie icon indicating copy to clipboard operation
wujie copied to clipboard

DEMO本地运行报错

Open 605666069 opened this issue 2 years ago • 7 comments

image

605666069 avatar Aug 16 '22 04:08 605666069

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

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

node版本 14~16都没问题

yiludege avatar Aug 16 '22 04:08 yiludege

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

605666069 avatar Aug 16 '22 04:08 605666069

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

yiludege avatar Aug 16 '22 04:08 yiludege

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

605666069 avatar Aug 16 '22 04:08 605666069

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

yiludege avatar Aug 16 '22 04:08 yiludege

node 版本v14.17.0

605666069 avatar Aug 16 '22 06:08 605666069

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

Xchen1995 avatar Aug 16 '22 16:08 Xchen1995