Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native create react本机应用程序打包程序在启动时卡住_React Native - Fatal编程技术网

React native create react本机应用程序打包程序在启动时卡住

React native create react本机应用程序打包程序在启动时卡住,react-native,React Native,使用以下结构创建的文件夹无法启动打包机 create-react-native-app AwesomeProject cd AwesomeProject npm start 我的设置是: OS: Windows 10 Node: 10.10.0 Yarn: 1.6.0 npm: 6.2.0-next.1 Watchman: Not Found Xcode: N/A Android Studio: Version 3.1.0.0 AI-173.4720617 我曾尝试更改NPM、expo、r

使用以下结构创建的文件夹无法启动打包机

create-react-native-app AwesomeProject

cd AwesomeProject
npm start
我的设置是:

OS: Windows 10
Node: 10.10.0
Yarn: 1.6.0
npm: 6.2.0-next.1
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.1.0.0 AI-173.4720617
我曾尝试更改NPM、expo、react-native和react的版本,甚至尝试操纵metro捆绑程序,但没有结果

{
  "name": "AwesomeProject",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "react-native-scripts": "1.14.0",
    "jest-expo": "~27.0.0",
    "react-test-renderer": "16.3.1"
  },
  "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
  "scripts": {
    "start": "react-native-scripts start",
    "eject": "react-native-scripts eject",
    "android": "react-native-scripts android",
    "ios": "react-native-scripts ios",
    "test": "jest"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "expo": "^27.0.1",
    "react": "16.3.1",
    "react-native": "~0.55.2"
  }
}

这个脚本有日志吗?我在哪里可以看到失败的地方以及如何纠正问题。

你能发布你的package.json吗?是的,我已经编辑了我的post“npm安装”是否抛出任何错误?