When there is no network (the Linux machine has no network and can only use the LAN), what should I do if the downloaded node module installed in the previous project is directly copied to the specified directory and cannot be used? Is there any recommended alternative?
Your system needs to be consistent (same system version, system library version, etc.), otherwise problems may easily occur.
A better way is to type it into
dockermoby package or lxc package, just throw the whole package and run.