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

can not found main.jsbundle #105

Open
LittleXu opened this issue Apr 21, 2021 · 6 comments
Open

can not found main.jsbundle #105

LittleXu opened this issue Apr 21, 2021 · 6 comments

Comments

@LittleXu
Copy link

如图所示
image

@CarGuo
Copy link
Owner

CarGuo commented Apr 21, 2021

react-native run-ios 不是会调用 node_module 么?

@LittleXu
Copy link
Author

我没有使用npm install 命令 这个命令报一堆错 直接使用了yarn

直接 react-native run-ios 报错 缺少main.jsbundle
我采用下边方法 将生成的main.jsbundle 放到项目中后
curl http://localhost:8081/index.bundle -o main.jsbundle

又这样了
image

@CarGuo
Copy link
Owner

CarGuo commented Apr 21, 2021

配置了readme 的 ignoreConfig.js 了吗?

@LittleXu
Copy link
Author

配置了
image

@CarGuo
Copy link
Owner

CarGuo commented Apr 21, 2021

那就很奇怪了··我这边用 yarn 也是正常

@CarGuo CarGuo closed this as completed Apr 21, 2021
@CarGuo CarGuo reopened this Apr 21, 2021
@CarGuo
Copy link
Owner

CarGuo commented Apr 23, 2021

我这边唯一能想到的就是 node 版本不对,现在用的是 v10.13.0

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