Ionic beta4 starter app issue


i upgraded to ionic 2.0.0-beta.4 i installed a blank starter app when i run it in ionic serve

our system information:

Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.4
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v4.4.3
Xcode version: Not installed


Can you install a new project and tell if u get the same result?
If the new project works fine then copy your app folder into this new one.


@b1x1t0 ya still i get the same type of err, in my terminal when i run ionic serve,
this is my terminal view

yokeshs-Mac-mini:~ yokesh$ cd MyIonic2Project/
yokeshs-Mac-mini:MyIonic2Project yokesh$ ionic serve
WARN: ionic.config.js has been deprecated, you can remove it.

Running ‘serve:before’ gulp task before serve
[17:23:19] Starting ‘clean’…
[17:23:19] Finished ‘clean’ after 13 ms
[17:23:19] Starting ‘watch’…
[17:23:19] Starting ‘sass’…
[17:23:19] Starting ‘html’…
[17:23:19] Starting ‘fonts’…
[17:23:19] Starting ‘scripts’…
[17:23:19] Finished ‘scripts’ after 242 ms
[17:23:19] Finished ‘html’ after 252 ms
[17:23:20] Finished ‘fonts’ after 571 ms
Error: Import directives may not be used within control directives or mixins.
on line 34 of node_modules/ionic-angular/components.core.scss

@import “fonts/ionicons”;

[17:23:20] Finished ‘sass’ after 955 ms
7.3 MB bytes written (19.00 seconds)
[17:23:39] Finished ‘watch’ after 20 s
[17:23:39] Starting ‘serve:before’…
[17:23:39] Finished ‘serve:before’ after 13 μs

WARN: ionic.config.js has been deprecated, you can remove it.
The port 8100 was taken on the host - using port 8101 instead
The port 35729 was taken on the host - using port 35730 instead
Running live reload server:
Watching: www//*, !www/lib//*
√ Running dev server:
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit

ionic $

And in my browser i get an error like this


Hi I am facing the same issue in 2.0.0-beta.23


The issue should be already fixed:

I would recommend you to try starting the app (from scratch) again.

If the problem is not solved, there’s also a workaround in the comments of the issue.