Closed marcioj closed 9 years ago
I think we could show a better message like: No dependencies installed. Run
npm install
andbower install
to install missing dependencies.
+1 better error message
:+1: from me
Looks like the ember-cli-dependency-checker isn't a direct dependency from ember-cli, actually it's a dependency from generated apps. So add this verification here won't work because if we're able to run dependency-checker that means that node_modules are already installed. Sorry for the confusion :smile:
:smile: Yep, we totally forgot that.
Does make sense to
ember-cli-dependency-checker
warns whennode_modules
orbower_components
are not present? For instance running some ember-cli command in a project withoutnode_modules
will throwError: Cannot find module 'ember-cli/lib/broccoli/ember-app'
. I think we could show a better message like:No dependencies installed. Run
npm installand
bower installto install missing dependencies
.This is related to ember-cli/ember-cli#3961, but I think this kind of check belongs here.
Thoughts?
//cc @stefanpenner @quaertym