ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.02k stars 13.52k forks source link

ionic start v2 tutorial fails at ionic serve: Unknown plugin "add-module-exports" #6783

Closed dasilvacontin closed 8 years ago

dasilvacontin commented 8 years ago

Following the starter v2 tutorial (http://ionicframework.com/docs/v2/getting-started/installation/)

I do:

$ npm install -g ionic@beta && ionic start cutePuppyPics --v2 && cd cutePuppyPics && ionic serve

But ionic serve fails with:

Running 'serve:before' gulp task before serve
[19:27:23] Starting 'clean'...
[19:27:23] Finished 'clean' after 9.69 ms
[19:27:23] Starting 'watch'...
[19:27:23] Starting 'sass'...
[19:27:23] Starting 'html'...
[19:27:23] Starting 'fonts'...
[19:27:23] Starting 'scripts'...
[19:27:23] Finished 'scripts' after 98 ms
[19:27:23] Finished 'html' after 104 ms
[19:27:23] Finished 'fonts' after 106 ms
[19:27:25] Finished 'sass' after 1.21 s
ReferenceError: Unknown plugin "add-module-exports" specified in "/Users/dasilvacontin/.babelrc" at 0, attempted to resolve relative to "/Users/dasilvacontin" while parsing file: /Users/dasilvacontin/temp/cutePuppyPics/app/app.js

The version of ionic installed by npm is:

└── ionic@2.0.0-beta.29
jgw96 commented 8 years ago

Hello! Thanks for opening an issue with us! Since this is an issue with the ionic-cli and not the ionic framework i will be moving this issue to the ionic-cli repo. Thanks for using Ionic!

jgw96 commented 8 years ago

This issue was moved to driftyco/ionic-cli#1043

dasilvacontin commented 8 years ago

@jgw96 True, sorry for opening it in the wrong repo. :)

jgw96 commented 8 years ago

@dasilvacontin No problem at all (: