2016-10-26 8 views
0

を生成するのに失敗します。イオンCLIバージョン2.1.4は、ページのイオン性イオン性グラムのページのテストは、ページを生成するために失敗し、私は次のエラーを与える2

ionic g page test

Error: ENOENT: no such file or directory, scandir '...\node_modules\ionic-angular\templates\page' 
    at Error (native) 
    at Object.fs.readdirSync (fs.js:856:18) 
    at getTemplatesInDir (..\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\app-generators\index.js:23931:65) 
    at Generator.renderAndWriteTemplates (..\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\app-generators\index.js:25309: 
116) 
    at ..\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\app-generators\index.js:25304:26 


ENOENT: no such file or directory, scandir '..\node_modules\ionic-angular\templates\page' (CLI v2.1.4) 

Your system information: 

Cordova CLI: 6.3.1 
Gulp version: CLI version 3.9.0 
Gulp local: Local version 3.9.1 
Ionic Framework Version: 2.0.0-beta.11 
Ionic CLI Version: 2.1.4 
Ionic App Lib Version: 2.1.2 
OS: Windows 7 SP1 
Node Version: v5.1.0 

間違って何をして起こっています?

お願いします。

答えて

0

たぶん、あなたは再インストールのイオン

0

はたぶん、あなたはルートディレクトリ以外のディレクトリでコマンドを実行している必要があります。 プロジェクトルートに移動し、コマンドを再実行します。

関連する問題