As you have not added watch scripts in the package.json npm run watch won't work.
you can use npm run scripts-name , or any of the start/developer/build in place of scripts-name
or you can add watch in scripts tag and use it.
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.