search

Home  >  Q&A  >  body text

node.js - node installation without network status

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?

天蓬老师天蓬老师2791 days ago597

reply all(1)I'll reply

  • 漂亮男人

    漂亮男人2017-05-16 13:37:54

    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 docker moby package or lxc package, just throw the whole package and run.

    reply
    0
  • Cancelreply