npm err missing script start solved | Npm start not working in node js

preview_player
Показать описание
How to fix npm ERR! missing script: "start" error in node js is shown
Рекомендации по теме
Комментарии
Автор

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!

gxuytnx
Автор

its so sos useful video ....i m struggling last 1 month in this error you so much

karitayade
Автор

Sir I don't have scripts in my package .json

vincentff
Автор

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

naveenpraveen
Автор

I've tried it . still not working.... not able to even start my project properly can someone help??

holistictube
Автор

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:
> 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

sauravsirswal
Автор

Thank you so much, You've saved my hours man!

paarthkothari
Автор

adding start giving error, then what shoud do ? sir, pls help 🙏🙏🙏

bxzuxdo
Автор

sir I am having error Module Not found for npm -v, but node -v is working well, can u help me out ?

deepanshugoyal
Автор

npm run dev work nahi karaha hai first day to open ho raha tha lekin aaj open kiya to run nahi horaha hai

MM-kidg
Автор

Won't nodemon be enough for that but isn't working for me

mrlord
Автор

My problem is not solved, but thanks for the video.

niladryshekharray
Автор

last thing I was expecting is to save the file.

salimmazariboufares