Skip to content

"Stream" is read-only error on run-time (occurred after migration from RN 0.53.3 to 0.56) #20415

Closed
@ketn

Description

@ketn

Environment

React Native Environment Info:
System:
OS: macOS Sierra 10.12.2
CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 640.39 MB / 8.00 GB
Shell: 3.2.57 - /bin/sh
Binaries:
Node: 10.7.0 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 6.2.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 10.3, macOS 10.12, tvOS 10.2, watchOS 3.2
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 8.3.3/8E3004b - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
react-native-cli: 2.0.1

Description

I just migrated from react-native@0.53.3 to react-native@0.56. Also, as required, upgraded my node to 8+ (10.7.0) and babel to 7.0.0-beta.54. After completing the migration process, the following error showed up:

rn-0 56-error

Here are 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"
}

I cannot find an issue similar to this anymore, hence posted it over here. Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions