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.

No QR code shown with run "npm start"

See original GitHub issue

Description

No QR code is shown in the terminal when running “npm start”

npm install -g create-react-native-app
create-react-app driver
cd driver
npm start

This shows the following:

Compiled successfully!

You can now view driver in the browser.

  Local:            http://localhost:3000/
  On Your Network:  http://192.168.1.108:3000/

Note that the development build is not optimized.
To create a production build, use npm run build.

Notice there is no QR code…

Environment

  • npm ls react-native-scripts:
  • npm ls react-native:
  • npm ls expo:

All three return:

driver@0.1.0 /Users/…/driver └── (empty)

npm ERR! code 1

  • node -v:

v6.11.0

  • npm -v:

3.10.10

  • yarn --version:

-bash: yarn: command not found

  • watchman version:

-bash: watchman: command not found

  1. Operating system:

macOS Sierra 10.12.6

  1. Phone/emulator/simulator & version:

Not got to that point yet without a QR code!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:10

github_iconTop GitHub Comments

15reactions
brunoandradebrcommented, Dec 13, 2017

It’s a vs code bug, if you start your project npm start with cmd or powershell it works.

12reactions
denistsoicommented, Sep 5, 2017

npm run ios - or press q after npm start

Read more comments on GitHub >

github_iconTop Results From Across the Web

There is no QRCode on terminal when type npm start
I type npm start again. There's no QRCode show on my terminal any more. enter image description here. I looking for some answer...
Read more >
qrcode - npm
Start using qrcode in your project by running `npm i qrcode`. ... --version Show version number [boolean] Examples: qrcode "some text" Draw ...
Read more >
"npm start" execution got stuck on "starting/running packager.."
after running npm start when it shows “starting/running packager.” just press 'q' it will display the QR code, but it won't display the...
Read more >
Setting up the development environment - React Native
npm start # you can also use: npx expo start ... On Android, use the Expo Go app to scan the QR code...
Read more >
Tasks in Visual Studio Code
Tasks in VS Code can be configured to run scripts and start processes so that many ... This instructs VS Code to scan...
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