Skip to content

Unexpected identifier 'str' #22675

Closed
Closed
@JacquesBonet

Description

@JacquesBonet

Environment

Run react-native info in your terminal and paste its contents here.

native info

React Native Environment Info:
System:
OS: Linux 4.18 Ubuntu 18.10 (Cosmic Cuttlefish)
CPU: (4) x64 Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz
Memory: 151.05 MB / 7.60 GB
Shell: 4.4.19 - /bin/bash
Binaries:
Node: 8.12.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/bin/yarn
npm: 6.5.0 - /usr/local/bin/npm
SDKs:
Android SDK:
API Levels: 27, 28
Build Tools: 27.0.3, 28.0.3
System Images: android-27 | Intel x86 Atom, android-27 | Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.57.8 => 0.57.8

Description

Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.

  • I start the android emulator
  • I create a new react-native project with the command "react-native init myReactNative"
  • I start cd to the project and launch the command "react-native run-android"
  • The android application start on the android emulator, but I get a red screen with the message : "Unexpected identifier 'str'"

PS: I dont have error in debug mod

Reproducible Demo

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/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions