react-native link throws an exception with rn v 0.55.4
See original GitHub issue- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native version: https://github.com/facebook/react-native/releases
- Run
react-native info
in your terminal and paste its contents under “Environment” - Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 10.1.0
Yarn: 1.6.0
npm: 6.0.1
Watchman: 4.9.0
Xcode: Xcode 9.4 Build version 9F1027a
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed)
react: ^16.3.1 => 16.3.1
react-native: ^0.55.4 => 0.55.4
Description
react-native link
throws the following error
(node:8418) ExperimentalWarning: The fs.promises API is experimental
rnpm-install ERR! Something went wrong while linking. Error: Expected "/* Begin ", "/* End ", "\"", or [A-Za-z0-9_.] but "<" found.
Please file an issue here: https://github.com/facebook/react-native/issues
Steps to Reproduce
npm i
react-native link
Expected Behavior
Successful linking of packages
Actual Behavior
Exception as described above
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
React Native StackOverflowException - Stack Overflow
React -Native relies on a custom view component, ReactRootView, which throws the exception you see if an infinite/way too expensive view tree ...
Read more >Mocking RN modules | React Made Native Easy
Since it is a nodemodule, we would need to put the mock file inside `_mocks/react-native-exception-handler`. Refer to the tree above to know where...
Read more >task :app:compiledebugjavawithjavac failed react native
This error occur because you RN version is different from Android's build.gradle version. When you create a react-native app probably it create android...
Read more >React Native Tutorial for Beginners - YouTube
React Native Tutorial for Beginners - Learn to build an amazing React Native app for iOS & Android. Get the full...
Read more >React Native · Learn once, write anywhere
Create native apps for Android, iOS, and more using React. React Native combines the best parts of native development with React, a best-in-class...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hramos Hey) I have only few - facebook sdk, react-native-linear-gradient. Maybe i should have mentioned that linking was working with previous version of RN before i ran
react-native-git-upgrade
.I have the exact same error with 0.55.4 and to answer your question @hramos : For me it happens with every react-native link I call after the upgrade.