ng2-admin项目

junnanN 发布于 2017/02/14 16:19
阅读 1K+
收藏 0

@大漠穷秋 你好,想跟你请教个问题:

我从ng2-admin那个项目中

git clone https://github.com/akveo/ng2-admin.git

  之后进入项目目录

npm install后出现这个问题:

 

E:\>cd ngdemo

E:\ngdemo>cd ng2-admin2

E:\ngdemo\ng2-admin2>npm install
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit     at emitTwo (events.js:106:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit     at Socket.<anonymous> (internal/child_process.js:334:11)
npm WARN addRemoteGit     at emitOne (events.js:96:13)
npm WARN addRemoteGit     at Socket.emit (events.js:188:7)
npm WARN addRemoteGit     at Pipe._handle.close [as _onclose] (net.js:498:12)
npm WARN addRemoteGit  amcharts/ammap3#3.20.20 resetting remote C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11 because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit     at emitTwo (events.js:106:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit     at Socket.<anonymous> (internal/child_process.js:334:11)
npm WARN addRemoteGit     at emitOne (events.js:96:13)
npm WARN addRemoteGit     at Socket.emit (events.js:188:7)
npm WARN addRemoteGit     at Pipe._handle.close [as _onclose] (net.js:498:12)
npm WARN addRemoteGit   killed: false,
npm WARN addRemoteGit   code: 1,
npm WARN addRemoteGit   signal: null,
npm WARN addRemoteGit   cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-a85b06a4\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: Cloning into 'C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-a85b06a4\3eb49a0f9f06955186ebf2a952c8ab9b4531d772'...
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-a85b06a4\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: "git-upload-pack 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c'": git-upload-pack 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c': No such file or directory
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-a85b06a4\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-a85b06a4\3eb49a0f9f06955186ebf2a952c8ab9b4531d772:
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-a85b06a4\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-a85b06a4\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: and the repository exists.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-867ad69c C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-a85b06a4\3eb49a0f9f06955186ebf2a952c8ab9b4531d772:
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-ee667aa9\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: Cloning into 'C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-ee667aa9\3eb49a0f9f06955186ebf2a952c8ab9b4531d772'...
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-ee667aa9\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: "git-upload-pack 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3'": git-upload-pack 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3': No such file or directory
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-ee667aa9\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-ee667aa9\3eb49a0f9f06955186ebf2a952c8ab9b4531d772:
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-ee667aa9\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-ee667aa9\3eb49a0f9f06955186ebf2a952c8ab9b4531d772: and the repository exists.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-amcharts3-git-3-20-20-725717a3 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-ee667aa9\3eb49a0f9f06955186ebf2a952c8ab9b4531d772:
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit     at emitTwo (events.js:106:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm WARN addRemoteGit  amcharts/amcharts3#3.20.20 resetting remote C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5 because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit     at emitTwo (events.js:106:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm WARN addRemoteGit   killed: false,
npm WARN addRemoteGit   code: 1,
npm WARN addRemoteGit   signal: null,
npm WARN addRemoteGit   cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/amcharts3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5: Cloning into bare repository 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5'...
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/amcharts3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5: Host key verification failed.
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/amcharts3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5: fatal: Could not read from remote repository.
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/amcharts3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5:
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/amcharts3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5: Please make sure you have the correct access rights
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/amcharts3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5: and the repository exists.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-e7023095\b54ccca7836bf8fccf7664e741787acabb490764: Cloning into 'C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-e7023095\b54ccca7836bf8fccf7664e741787acabb490764'...
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-e7023095\b54ccca7836bf8fccf7664e741787acabb490764: "git-upload-pack 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11'": git-upload-pack 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11': No such file or directory
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-e7023095\b54ccca7836bf8fccf7664e741787acabb490764: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-e7023095\b54ccca7836bf8fccf7664e741787acabb490764:
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-e7023095\b54ccca7836bf8fccf7664e741787acabb490764: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-e7023095\b54ccca7836bf8fccf7664e741787acabb490764: and the repository exists.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-5b4c9c11 C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-e7023095\b54ccca7836bf8fccf7664e741787acabb490764:
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit     at emitTwo (events.js:106:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm WARN addRemoteGit  amcharts/ammap3#3.20.20 resetting remote C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit     at emitTwo (events.js:106:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm WARN addRemoteGit   killed: false,
npm WARN addRemoteGit   code: 1,
npm WARN addRemoteGit   signal: null,
npm WARN addRemoteGit   cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-9883192b\b54ccca7836bf8fccf7664e741787acabb490764: Cloning into 'C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-9883192b\b54ccca7836bf8fccf7664e741787acabb490764'...
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-9883192b\b54ccca7836bf8fccf7664e741787acabb490764: "git-upload-pack 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc'": git-upload-pack 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc': No such file or directory
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-9883192b\b54ccca7836bf8fccf7664e741787acabb490764: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-9883192b\b54ccca7836bf8fccf7664e741787acabb490764:
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-9883192b\b54ccca7836bf8fccf7664e741787acabb490764: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-9883192b\b54ccca7836bf8fccf7664e741787acabb490764: and the repository exists.
npm ERR! git clone C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-amcharts-ammap3-git-3-20-20-fa0483dc C:\Users\百世经纶\AppData\Local\Temp\npm-5372-ef204366\git-cache-9883192b\b54ccca7836bf8fccf7664e741787acabb490764:
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/ammap3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-2aef91cc: Cloning into bare repository 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-2aef91cc'...
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/ammap3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-2aef91cc: Host key verification failed.
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/ammap3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-2aef91cc: fatal: Could not read from remote repository.
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/ammap3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-2aef91cc:
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/ammap3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-2aef91cc: Please make sure you have the correct access rights
npm ERR! git clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/ammap3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-ammap3-git-3-20-20-2aef91cc: and the repository exists.
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "D:\\node\\node.exe" "D:\\node\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:amcharts/amcharts3.git C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5
npm ERR! Cloning into bare repository 'C:\Users\百世经纶\AppData\Roaming\npm-cache\_git-remotes\git-github-com-amcharts-amcharts3-git-3-20-20-49241da5'...
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
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!     E:\ngdemo\ng2-admin2\npm-debug.log

加载中
0
sijinge
sijinge

搞个翻墙工具就能安装成功了

返回顶部
顶部