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.

QR code not in terminal output

See original GitHub issue

Description

After running npm start, I do not see a QR code appearing anywhere in the terminal output. I believe I have recently updated all of the necessary packages, and just started using create-react-native-app in the past week, so that is not in need of an update.

Expected Behavior

Running npm start does not output a QR code to the terminal.

Observed Behavior

I receive the following output:

> Capsule@0.0.1 start /Users/Nate/Desktop/Projects/Capsule
> node node_modules/react-native/local-cli/cli.js start

Scanning 752 folders for symlinks in /Users/Nate/Desktop/Projects/Capsule/node_modules (9ms)
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚  Running packager on port 8081.                                            β”‚
 β”‚                                                                            β”‚
 β”‚  Keep this packager running while developing on any JS projects. Feel      β”‚
 β”‚  free to close this tab and run your own packager instance if you          β”‚
 β”‚  prefer.                                                                   β”‚
 β”‚                                                                            β”‚
 β”‚  https://github.com/facebook/react-native                                  β”‚
 β”‚                                                                            β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Looking for JS files in
   /Users/Nate/Desktop/Projects/Capsule


React packager ready.

Loading dependency graph, done.
Bundling `index.ios.js`  100.0% (457/457), done.
Bundling `index.ios.js`  100.0% (603/603), done.

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts: react-native-scripts@0.0.50
  • npm ls react-native: react-native@0.46.1
  • npm ls expo: expo@18.0.9 UNMET PEER DEPENDENCY react@>=15.3.1
  • node -v: v7.0.0
  • npm -v: 4.2.0
  • yarn --version: 0.21.3
  • watchman version: 4.7.0

Also specify:

  1. Operating system: MacOS Sierra 10.12.5
  2. Phone/emulator/simulator & version: iPhone running 10.3.2

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
brentvatnecommented, Jul 13, 2017

it looks like your project doesn’t have react-native-scripts installed either. this looks like a project that was created with react-native-init rather than create-react-native-app πŸ˜ƒ

2reactions
nchastaincommented, Jul 13, 2017

Just initialized a new project using create-react-native-app and I’m now seeing the QR code as expected, sorry about the confusion there! Not sure how I ever stumbled into a react-native-init product build but it appears everything is working now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you output a QR code to the linux cli terminal for ...
Use the terminal application qrencode (man page). The command you are looking for is the following: qrencode -t ansiutf8 < myfile_here.
Read more >
Generating QR Codes in Linux
The quickest way to create a QR code is with the Qrencode command-line utility. Any major distribution can install Qrencode via the package...
Read more >
QR Code creation from the command line
Output the QR code to the terminal: $ segno "Little wing". QR code for "Little wing". Same content, but as Micro QR code...
Read more >
Software to read a QR code? - Ask Ubuntu
png > output.txt to save it to a file. "QR-Code:" text is appended to the output if --raw is not enabled.
Read more >
Show a QR code on the terminal - Adyen Docs
You can use the display of your payment terminal to show a QR code which the shopper can scan with their mobile device....
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