4
我一直在關注的奧裏利亞網站,並與這一個例子:Aurelia大街 - 例如,錯誤安裝depencies
http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/contact-manager-tutorial/2
我跑「金新」,並按照通過提示和它到達「你想安裝項目依賴關係」問題,我說是,然後失敗,出現下面的錯誤。有沒有人有一個想法,爲什麼?我安裝了Node.JS和一個GIT客戶端。
Would you like to install the project dependencies?
1. Yes (Default)
Installs all server, client and tooling dependencies needed to build
the project.
2. No
Completes the new project wizard without installing dependencies.
[Yes]> 1
Installing project dependencies.
npm ERR! git clone --template=C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/gulpjs/gulp.git C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08: undefined
npm ERR! git clone --template=C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/gulpjs/gulp.git C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08: undefined
npm ERR! git clone --template=C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/gulpjs/gulp.git C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44: undefined
npm ERR! git clone --template=C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/gulpjs/gulp.git C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44: undefined
npm ERR! git clone --template=C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:gulpjs/gulp.git C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801: undefined
npm ERR! git clone --template=C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:gulpjs/gulp.git C:\Users\jnixon\AppData\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801: undefined
C:\Windows\System32>
你可以手動設置環境變量。那裏有大量的教程。我總是這樣做,因爲我喜歡github客戶端,因爲** diff **功能,但我在我的IDE中使用CLI。 – Randy
感謝蘭迪,明白這一點。 – Philip
這工作,謝謝@詹姆斯! – Homer