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

启动qiankun项目报错 #42

Closed
yangangzhang opened this issue Aug 27, 2019 · 12 comments
Closed

启动qiankun项目报错 #42

yangangzhang opened this issue Aug 27, 2019 · 12 comments

Comments

@yangangzhang
Copy link

将qiankun项目clone下来之后,安装依赖,npm start 报错
image

@kuitos
Copy link
Member

kuitos commented Aug 27, 2019

npm i
npm run install:examples
npm start

https://github.com/umijs/qiankun#-examples

@yangangzhang
Copy link
Author

您好,感谢回答,就是按照这个执行的,只不过用的cnpm
image

@yangangzhang
Copy link
Author

这个地方报的错
image
没有搞明白

@kuitos
Copy link
Member

kuitos commented Aug 27, 2019

看启动日志有没有报错

@yangangzhang
Copy link
Author

没有报错
image

@kuitos
Copy link
Member

kuitos commented Aug 27, 2019

浏览器报错信息是 localhost:7100 这个地址拿不到资源

@yangangzhang
Copy link
Author

7100这个服务需要启动吗?需要启动是在哪启动?
看的错误的原因是react这个地方报错

@kuitos
Copy link
Member

kuitos commented Aug 27, 2019

react 那个只是 warning
windows 不支持并行跑命令行吗。。
试下把这个几个命令分开跑吧

qiankun/package.json

Lines 12 to 15 in 6d5f616

"start:main": "cd examples/main && npm start",
"start:react16": "cd examples/react16 && npm start",
"start:react15": "cd examples/react15 && npm start",
"start:vue": "cd examples/vue && npm start",

@yangangzhang
Copy link
Author

感谢,分开执行跑起来了,就是那个warning还存在,另外map文件不存在,给了提示
image

@kuitos
Copy link
Member

kuitos commented Aug 28, 2019

拉下最新的代码

@yangangzhang
Copy link
Author

拉取了新的代码,warning不存在了,现在就是存在一个提示
image

@kuitos
Copy link
Member

kuitos commented Aug 28, 2019

这个问题另外开个 issue 吧,这个 issue 先关了

@kuitos kuitos closed this as completed Aug 28, 2019
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

2 participants