question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-native link throws an exception with rn v 0.55.4

See original GitHub issue

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

  1. npm i
  2. react-native link

Expected Behavior

Successful linking of packages

Actual Behavior

Exception as described above

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Dmytrawcommented, Jun 6, 2018

@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.

0reactions
SimonErichcommented, Sep 7, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found