我想要在离线环境下安装个pm2应该怎么做
在有网的环境下 pm2模块安装在/usr/local/lib下,我直接copy到离线环境的/usr/local/lib下 然后软连接要怎么建立
还是我直接从有网环境下/usr/local/bin下考一个pm2到离线环境下就可以了
如果我是直接从github上下载的模块文件 这样的应该怎么安装到自己的工程里
2 回复
试过了 supervisor可以但是pm2和forever不行 ,还是会走网络 npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/broadway npm http GET https://registry.npmjs.org/eventemitter2 npm http GET https://registry.npmjs.org/vows npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/broadway npm http GET https://registry.npmjs.org/eventemitter2 npm http GET https://registry.npmjs.org/vows