I'm new in learning React, today, I have trouble as below and I can't fix it, please help me. Below is the error
Asked
Active
Viewed 575 times
-1
-
It would be really great, if you could post the content of your images as text! – csabinho Nov 13 '19 at 04:31
-
Post full errror log please – Tony Ngo Nov 13 '19 at 04:32
-
if i convert that img to text, it's too long to read ~~ i posted the full img of error – shyoski Nov 13 '19 at 04:40
1 Answers
-1
Package.json
"dev": "nodemon --watch *.js --exec 'node --harmony api.js'",
change to:
"dev": "nodemon --watch *.js -x npm run start",
and then ‘npm run dev’ start a dev serve normally.

Zaid Mansuri
- 51
- 4
-
`"dev": "nodemon server.js -w server.js -w routes.js -w config/router.config.js -w next.config.js -w .env "` This is my "dev" line, how can i edit it – shyoski Nov 13 '19 at 09:20
-
It depends on which file needs to be run . In above only reactjs server and express server needs to be started. – Zaid Mansuri Nov 13 '19 at 11:54