What I typed: Npm run dev
Error :
npm ERR! Missing script: "dev"
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\andre\AppData\Local\npm-cache\_logs\2021-11-12T04_58_51_898Z-debug.log
Json:
{
"name": "port",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
"devDependencies": {
"vite": "^2.6.4"
},
"dependencies": {
"three": "^0.134.0"
}
}
If you could help thank you and if not thank you for reading this and taking your time out of your day
Goto you project directory by cd your-project-name
. run npm run dev
command and try again (In your npm command "N" is capital). and if not work please check below link (green tick answer) :
你能修好吗?,在这种情况下我需要你的帮助,我的问题是平等的
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.