イオンプロジェクトを構築するのに初めてgenerator-ionicを使用しました(それ以前はionic start myApp blank
)、これは残念です。 yeoman generator-ionicを使うべきですか?
mkdir ionic-generator-test && cd $_
yo ionic
npm install && bower install
grunt serve
数分後にブラウザが開き、コンソール上で私が見つかりました:
Error: $injector:nomod Module Unavailable Module 'starter' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
問題はapp.jsファイルがロードされていないことです。 HTMLファイルのパスが間違っている:
<script src="scripts/app.js"></script>
であるべき
<script src="js/app.js"></script>
このようなシンプルで大きな誤差と発電機の最終更新は2015年12月29日(c5eb207をコミット)にありました。
イオン生成器は信頼できると思いますか?