ionic-cli: Error : No listeners for serve event. Did you install the appropriate plugin?
Hello,
Short description of the problem:
It was running well before to update CLI.
When I launch Ionic Serve i get the following error message: [ERROR] No listeners for serve event. Did you install the appropriate plugin?
Steps to reproduce:
- npm install -g ionic@beta
- npm install --save-dev @ionic/cli-build-ionic-angular@beta @ionic/cli-plugin-cordova@beta
- ionic serve
What version of the CLI are you using? Output of ionic --version
Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 3.0.0-beta7
ios-deploy version: Not installed
ios-sim version: Not installed
OS: OS X El Capitan
Node Version: v7.9.0
Xcode version: Xcode 8.1 Build version 8B62
Thanks to all
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 4
- Comments: 16
Yup, getting the same error here.
As a temporary workaround, you can use
npm run ionic:serve
instead ofionic serve
.It seems that just doing the following is not enough:
This works for me: