“ Stream”是运行时的只读错误(将react-native升级到0.56后)

时间:2018-07-26 22:49:53

标签: react-native

我刚刚从react-native@0.53.3迁移到react-native@0.56。另外,根据需要,将节点升级到8+(10.7.0),并将babel升级到7.0.0-beta.54。完成迁移过程后,出现以下错误:

rn-0 56-error

以下是babel devDependencies:

"devDependencies": {
  "@babel/core": "7.0.0-beta.54",
  "@babel/preset-flow": "7.0.0-beta.54",
  "babel-core": "^7.0.0-bridge.0",
  "babel-jest": "22.1.0",
  "babel-preset-react-native": "5.0.2",
  "jest": "22.1.4",
  "react-test-renderer": "16.2.0"
},
"jest": {
  "preset": "react-native"
}

我做错什么了吗?

0 个答案:

没有答案