-
Structure
What I want isWhen |
Beta Was this translation helpful? Give feedback.
Answered by
tknickman
Jun 22, 2022
Replies: 1 comment
-
This isn't supported at the moment. I would suggest either renaming "scripts": {
- "start": "react-scripts start",
+ "dev": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
}, Or, if you still need a "scripts": {
"start": "react-scripts start",
+ "dev": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
anthonyshew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This isn't supported at the moment.
I would suggest either renaming
start
todev
in yourroot/cra-app/package.json
:Or, if you still need a
start
script, you can add a seconddev
script that calls the same thing asstart
(orstart
directly if that makes more sense for your setup):"scripts": { "start": "react-scripts start", + "dev": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" },