project_ai_mern_image_generation
project_ai_mern_image_generation copied to clipboard
Npm start is not working
pm ERR! Missing script: "start" npm ERR! npm ERR! Did you mean one of these? npm ERR! npm star # Mark your favorite packages npm ERR! npm stars # View packages marked as favorites npm ERR! npm ERR! To see a list of scripts, run: npm ERR! npm run
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\admin\AppData\Local\npm-cache_logs\2023-02-10T17_01_01_797Z-debug-0.log
This is the eroor How to fix it?
npm run dev
npm start is for running server if it's not working check whether have you provided main file path or not.
main file is index.js in sever folder
"npm start": "nodemon index.js"
and for running client run command npm run dev.