删除节点包并将githup repo设为私有后,无法安装npm install

时间:2016-04-17 23:53:29

标签: node.js git github

Github新手。 我订阅github并使用它来保存我的版本控制文件。然后我删除了所有节点包并运行npm install。没有安装,我得到以下错误:

J:\workspace\epimss\angular2\ts\com-epimss.ng2.ts>npm install
npm ERR! git clone --template=C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror htt
ps://github.com/floridoo/gulp-sourcemaps.git C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\git-http
s-github-com-floridoo-gulp-sourcemaps-git-master-2c8ed5d4: Cloning into bare repository 'C:\Users\my-user\App
Data\Roaming\npm-cache\_git-remotes\git-https-github-com-floridoo-gulp-sourcemaps-git-master-2c8ed5d4'...
npm ERR! git clone --template=C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror htt
ps://github.com/floridoo/gulp-sourcemaps.git C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\git-http
s-github-com-floridoo-gulp-sourcemaps-git-master-2c8ed5d4: fatal: unable to access 'https://github.com/floridoo/gulp-
sourcemaps.git/': Failed to connect to github.com port 443: Timed out
npm ERR! git clone --template=C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror htt
ps://github.com/SitePen/remap-istanbul.git C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\git-https-
github-com-SitePen-remap-istanbul-git-master-a24313ec: Cloning into bare repository 'C:\Users\my-user\AppData
\Roaming\npm-cache\_git-remotes\git-https-github-com-SitePen-remap-istanbul-git-master-a24313ec'...
npm ERR! git clone --template=C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror htt
ps://github.com/SitePen/remap-istanbul.git C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\git-https-
github-com-SitePen-remap-istanbul-git-master-a24313ec: fatal: unable to access 'https://github.com/SitePen/remap-ista
nbul.git/': Failed to connect to github.com port 443: Timed out
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "P:\\Program Files\\nodejs\\node.exe" "P:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "
install"
npm ERR! node v5.8.0
npm ERR! npm  v3.7.3
npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\my-user\AppData\Roaming\npm-cac
he\_git-remotes\_templates --mirror https://github.com/floridoo/gulp-sourcemaps.git C:\Users\my-user\AppData\
Roaming\npm-cache\_git-remotes\git-https-github-com-floridoo-gulp-sourcemaps-git-master-2c8ed5d4
npm ERR! Cloning into bare repository 'C:\Users\my-user\AppData\Roaming\npm-cache\_git-remotes\git-https-gith
ub-com-floridoo-gulp-sourcemaps-git-master-2c8ed5d4'...
npm ERR! fatal: unable to access 'https://github.com/floridoo/gulp-sourcemaps.git/': Failed to connect to github.com
port 443: Timed out
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     J:\workspace\epimss\angular2\ts\com-epimss.ng2.ts\npm-debug.log

有没有办法让这项工作或我必须删除github?后者是这样的,请问如何。

由于

0 个答案:

没有答案