npm离线安装依赖 npm install [package_name --registry=指定地址] //指定地址安装 npm install ${path}/to/somedir //本地路径安装 npm ...