Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

npm ERR! Missing script: "eject" react native

1. add the below code inside package.json
"scripts": {
  "start": "react-scripts start",
  "build": "react-scripts build",
  "test": "react-scripts test",
  "eject": "react-scripts eject"
}

2. run the below command and then try again!
npm install react-scripts --save
 
PREVIOUS NEXT
Tagged: #npm #Missing #react #native
ADD COMMENT
Topic
Name
2+1 =