Run the project under the nodeJs off-network environment

I will go to the research institute to develop the project in a few days. The environment of the institute is a completely intranet environment, so it is impossible to connect to the external network.

so I zipped and packaged the front-end project (the front-end project, a compressed whole project with node_modules after npm install), imported it into the institute"s win10 machine, but opened it with webstrom, and normally started the node service with npm run dev. Workbench error

"webpack-dev-server" is not an internal or external command, nor is it a runnable program (nodejs has been installed on the institute machine)

could you tell me what went wrong with this operation? If all of them cannot be packaged and imported to other machines in this way, how to start the front-end project of run in an off-network environment?

Nov.20,2021

where is your webpack-dev-server on your node_modules? Another environment may be installed globally, which is not installed in node_modules


should be deployed in the test server. Wouldn't it be faster for the intranet npm to download these packages? You shouldn't have to think about that.


Project dependencies are all set and you can run without a net

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