我创建新的react-native-project-app,mac终端时出现错误?

时间:2018-09-28 06:58:41

标签: react-native hybrid-mobile-app react-native-ios xcode9.2

我有一个本机项目。在Mac终端上运行react-native run-ios时,出现此错误:[在此处输入图像说明] [1] 我正在继续: react-native-cli:2.0.1 反应本机:0.55.4 节点8.12.0 标称6.4.1

错误:捆绑失败:NotFoundError:在任何根目录中找不到入口文件index.js:[“ / Users / ========= / my-app”]

at DependencyGraph.getAbsolutePath (/Users/=========/my-app/node_modules/metro/src/node-haste/DependencyGraph.js:317:11)

at /Users/=========/my-app/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:280:416

at Generator.next (<anonymous>)

at step (/Users/=========/my-app/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:11:445)

at /Users/==========/my-app/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:11:605

at <anonymous>

at process._tickCallback (internal/process/next_tick.js:189:7)

BUNDLE [ios,dev] ./index.js░░░░░░░░░░░░░░░░0.0%(0/1),失败。

0 个答案:

没有答案