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-debugger-open syntax error on RN 0.59.0-rc.3

See original GitHub issue

React Native Debugger app version: NA - can’t start metro React Native version: 0.59.0-rc.3 Platform: NA - can’t start metro Is real device of platform: NA Operating System: macOS

using react-native-debugger-open 0.3.18 with RN 0.59.0-rc.3 I can’t start the metro bundler because of the following syntax error caused by the rndebugger-open postinstall…

yarn run v1.13.0
$ node node_modules/react-native/local-cli/cli.js start --reset-cache
/Users/jpaas/Documents/osaaru/tapshot-react/node_modules/@react-native-community/cli/build/server/middleware/getDevToolsMiddleware.js:86
dule', {
    ^^^^

SyntaxError: Invalid or unexpected token

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
alveligcommented, Aug 25, 2019

@mxmzb I confirm!

yarn add -D @react-native-community/cli@2.8 as a workaround for now

1reaction
ShaneMatthiascommented, Jan 27, 2020

For me, under devDependencies I had react-native-debugger-open at version 0.3.19. I switched that to ^0.3.22 and it fixed it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SyntaxError - JavaScript - MDN Web Docs
The SyntaxError object represents an error when trying to interpret syntactically invalid code. It is thrown when the JavaScript engine encounters tokens or ......
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