2017-06-27 6 views
1

IonicとWindows 10で、すべての依存関係とモジュールが完全にインストールされた新しいプロジェクトを作成しようとしています。ionic3で新しいプロジェクトを作成する際の問題

私が使用してアプリケーションを作成する場合:私は本当に何が起こっているかを把握することはできません

> npm install 
✖ Running command - failed! 

[ERROR] An error occurred while running npm install (exit code 1): 

     npm WARN deprecated [email protected]: Please update to the latest object-keys 
     npm ERR! code 1 
     npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE submodule update -q --init --recursive 
     npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 7: basename: command not found 
     npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 7: sed: command not found 
     npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 19: .: git-sh-setup: file not found 
     npm ERR! 

     npm ERR! A complete log of this run can be found in: 
     npm ERR!  C:\Users\Despair\AppData\Roaming\npm-cache\_logs\2017-06-27T13_56_55_297Z-debug.log 

ionic start my-app 

をそれは次のエラーをスローします。助言がありますか?

UPDATE:

Here is the commands i ran for info and results I got: 

    >ionic info 

    global packages: 

     @ionic/cli-utils : 1.4.0 
     Ionic CLI  : 3.4.0 

    local packages: 

     @ionic/app-scripts    : not installed 
     @ionic/cli-plugin-ionic-angular : 1.3.1 
     Ionic Framework     : not installed 

    System: 

     Node  : v8.1.2 
     OS   : Windows 10 
     Xcode  : not installed 
     ios-deploy : not installed 
     ios-sim : not installed 
     npm  : 5.0.3 

npm -v: 

5.0.3 
+0

シェア結果' NPM -V'私が見ると私の質問を更新しました – mumair

+0

@mumairあなたは尋ねました。 – Elisha512

+0

これは非常に奇妙な動作です。シードプロジェクトで 'npm install'をダウンロードして実行できますかhttps://github.com/ionic-team/ionic-angular-cordova-seedから、問題がionic-cliプロジェクトの生成またはnpmにあることを確認します – mumair

答えて

3

を実行し、このコマンドの2つのコマンド `イオンinfo`との

npm install @ionic/[email protected] --save-dev 
+0

出来た!!ありがとう@エメカ・オビアノム – Elisha512

関連する問題