How to fix npm ERR! missing script: "start" error in node js is shown
Пікірлер: 52
@user-gx3uy1tn3x Жыл бұрын
Thank you for the video. My issue was that I didn't save the changes. You were the only one who said to save changes or it doesn't work. Thank you!
@brunasantos-fv5ux Жыл бұрын
same here been trying to figure it out for hours
@heraldoanonimo85623 ай бұрын
@@brunasantos-fv5ux SAMEEEEEE
@WeirdestKalpaaa8 күн бұрын
Same 😭
@karitayade33543 ай бұрын
its so sos useful video ....i m struggling last 1 month in this error ..............thank you so much
@unitedtoptech62883 ай бұрын
Most welcome 😊
@vincentff9198 Жыл бұрын
Sir I don't have scripts in my package .json
@nitinsingh6556 Жыл бұрын
Same
@stevenmatetcho3229 Жыл бұрын
Same
@paarthkothari596611 ай бұрын
Thank you so much, You've saved my hours man!
@unitedtoptech628811 ай бұрын
Glad I could help!
@naveenpraveen26784 ай бұрын
whenever i create a react app no .js file is created and i also get the error that the "start" is missing only the package.json and the package_block.json file is created
@unitedtoptech62884 ай бұрын
what command are you using to create ?
@thefoenix92510 ай бұрын
Worked, shout out to you.
@unitedtoptech628810 ай бұрын
Glad it helped
@holistictube33310 ай бұрын
I've tried it . still not working.... not able to even start my project properly can someone help??
@unitedtoptech628810 ай бұрын
Are you facing this in a new react project or existing one?
@sauravsirswal15Ай бұрын
did the same exact steps the basic code which i wrote in in the index.js file const express = require('express') const app = express() const port = 3025 app.get('/', (req, res) => { res.send('Hello World!') }) app.listen(port, () => { console.log(`Example app listening on port ${port}`) }) after writing npm start it gives me only: > backendd@1.0.0 start > node index.js and that's it no port was mentioned in this , and after i tried to run: node index.js i get absolutely nothing and the terminal gets exit for new block of command, please help
@unitedtoptech6288Ай бұрын
try running node filename.js to run
@MM-ki4dg5 ай бұрын
npm run dev work nahi karaha hai first day to open ho raha tha lekin aaj open kiya to run nahi horaha hai
@unitedtoptech62885 ай бұрын
check the folder path in your terminal, if react project is there
@deepanshugoyal1250 Жыл бұрын
sir I am having error Module Not found for npm -v ,but node -v is working well , can u help me out ?
@unitedtoptech6288 Жыл бұрын
pls check the module name that you are trying to install
@mrlord8519 Жыл бұрын
Won't nodemon be enough for that but isn't working for me
@unitedtoptech6288 Жыл бұрын
U need to have the right path specified in that too
@user-bx3zu1xd9o3 ай бұрын
adding start giving error , then what shoud do ? sir , pls help 🙏🙏🙏
@unitedtoptech62883 ай бұрын
Can you paste the full error here?
@user-bx3zu1xd9o3 ай бұрын
@@unitedtoptech6288 solved , Thank you for your response.
@unitedtoptech62883 ай бұрын
Cool
@salimmazariboufares31183 ай бұрын
last thing I was expecting is to save the file.
@unitedtoptech62883 ай бұрын
So did it work?
@niladryshekharray58853 ай бұрын
My problem is not solved, but thanks for the video.
@unitedtoptech62883 ай бұрын
This worked for many and its a common solution
@chadhabits66382 ай бұрын
still the same problem
@unitedtoptech62882 ай бұрын
It worked for me, or try creating a new react project?