There is a problem with npm run build. Npm run start is normal.



< hr >

problem description

npm run build packaging command cp is not an internal command. It was available before, but it can"t be used recently

the environmental background of the problems and what methods you have tried

there is no problem with npm run start, but I don"t know what went wrong when copying files when I finally packed the package

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Jun.20,2022

cp cannot be used in cmd, so change individual terminals.


windows copy commands are copy rather than cp.
you need to make sure that your commands are cross-platform


cp commands cannot be executed in cmd under window.
clipboard.png
it is recommended to switch to git bash terminals

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e775-2b961.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e775-2b961.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?