开发服务器返回错误代码:500

Image to the error

我正在尝试在Android工作室模拟器上运行一个Android项目,每次我收到此错误信息可以有人帮忙吗?我链接了上面的图像

package.json:

{“name”:“AwesomeProjec”,“version”:“0.0.1”,“private”:true,“scripts”:{“start”:“node node_modules / react-native / local-cli / cli.js start “,”test“:”jest“},”dependencies“:{”babel-core“:”^ 6.26.3“,”babel-loader“:”^ 7.1.5“,”反应“:”16.4.1 “,”react-native“:”^ 0.55.4“},”devDependencies“:{”babel-core“:”^ 6.26.3“,”babel-jest“:”23.4.2“,”babel-loader“ “:”^ 7.1.5“,”babel-preset-react-native“:”5“,”gulp-babel“:”^ 7.0.1“,”jest“:”23.4.2“,”react-test“ -renderer“:”16.4.1“},”jest“:{”preset“:”react-native“}}

回答(1)

3 years ago

尝试使用以下命令创建项目: -

react-native init ProjectName --version react-native@0.55.0