Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
环境:在封闭/离线环境中。 问题:我正在手动复制 node_module,其中一个需要全局安装。这样做的过程是什么?
我假设该模块位于您计算机上的一个文件夹中。
npm install /path/to/folder/containing/package/json/ -g