Copy the VUE (webpack) project to another computer without a network (npm run dev) reported an error: cross-env is not an internal or external command

how to solve this problem is to copy less modules? Compared with the node_modules folder, there is no difference. Where does name copy the cross-env and where to copy it?
or is there any other way to solve this problem? (evil corporate computers cannot connect to the network)

May.22,2021

should be a dependency that does not have a global installation


must reinstall the cross-env module


in fact, the entire file directory can be pulled over; you can try using the mobile hotspot USB to share to the computer network, and reinstall the package


how do you copy it? Did you copy the hidden files in the root directory?


node_modules multiple copies


it is recommended that the copy do not carry the node_modules file, and then directly re-open the instruction, npm i in the project cnd | | cnpm I and then start


I am now in the same situation


brothers, it is under the premise that there is no Internet connection, so do not consider npm installation. I have also encountered such a problem, I would like to ask whether the landlord problem has been solved (it is all disgusting of the company, banning the network, evil company)


I have also encountered your problem, copy to other computers can not run, there is no network, how to do.

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-1b3bc38-2ba39.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-1b3bc38-2ba39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?