missing script: start
See original GitHub issueDescription
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:
- Created 6 years ago
- Comments:31 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
why is downgrading to 4.6.1 the correct solution?
@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