Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

There is no QRCode on terminal when type npm start

Tags:

react-native

I type command create-react-native-app <My package name>

then i type npm start i can see QRCode shows on my terminal

But when i type npm run eject for my project

I type npm start again. There's no QRCode show on my terminal any more. enter image description here

I looking for some answer still can't fix it. It confused with me a lot.

Here is my environment: Mac OS:10.13.4

{
  "name": "TestMovie2",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "babel-preset-react-native-stage-0": "^1.0.1",
    "eslint-config-rallycoding": "^3.2.0",
    "jest": "^22.4.3",
    "jest-react-native": "^18.0.0",
    "react-test-renderer": "16.3.0-alpha.1"
  },
  "scripts": {
    "start": "react-native start",
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "test": "jest"
  },
  "jest": {
    "preset": "react-native"
  },
  "dependencies": {
    "@shoutem/animation": "^0.12.2",
    "@shoutem/ui": "^0.23.4",
    "react": "16.3.0-alpha.1",
    "react-native": "0.54.0"
  }
}
like image 238
Morton Avatar asked Mar 07 '23 10:03

Morton


1 Answers

Hope you have solved the problem , but anyone still facing the problem can just type expo start instead of npm start

like image 127
ARJUN KUMAR Avatar answered Mar 24 '23 13:03

ARJUN KUMAR