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.

missing script: start

See original GitHub issue

Description

After completing these 4 steps

$ npm install -g create-react-native-app
$ create-react-native-app my-app
$ cd my-app/
$ npm start

I got this error:

npm start
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v5.9.0
npm ERR! npm  v3.7.3

npm ERR! missing script: start

When I open package.json I see only

{
  "name": "my-project",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "react-native-scripts": "0.0.40"
  }
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:31 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
wilsonskcommented, Oct 22, 2017

why is downgrading to 4.6.1 the correct solution?

4reactions
stoufa06commented, Oct 9, 2017

@vantuan02t1 use npm version 4.6.1 and reinstall creacte-react-native-app and remove AwesomeProject and create again npm install npm@4.6.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Start script missing error when running npm start
App with the scripts was in folder B. Folder B was in folder A. I open folder A in vscode and enter "npm...
Read more >
npm ERR! Missing script: "start" (How to Fix!) - Stack Diary
The "npm ERR! Missing script: 'start'" error is a common error that occurs when you try to run the npm start command on...
Read more >
[Solved] npm err! missing script: start - ItsJavaScript
The npm err! missing script: start mainly occurs if you have not specified the entry path in package.json to run the application. We...
Read more >
npm ERR! Missing script: "start" [Solved] | bobbyhadz
To solve the npm ERR! Missing script: "start" error, make sure to add a start command to the scripts object in your package.json...
Read more >
npm ERR! Missing script : "start" | SOLVED in React - YouTube
npm ERR! Missing script : " start " | but start script is present | SOLVED in Reactstart script missing error.
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