Can't Serve the ionic conferace app

when I run ionic serve -l -p 8101 I am receiving the following error message, before it launches blank into the browser:

[12:39:06] build dev failed: Cannot read property ‘indexOf’ of undefined
[12:39:06] copy: Error copying “C:\data\app\mkb\node_modules\ionic-angular\fonts” to “C:\data\app\mkb\www\assets\fonts”
[12:39:06] copy finished in 28.95 s
[12:39:06] watch ready in 29.00 s
[12:39:06] dev server running: http://localhost:8101/

The copyhng fponts seems to have worked ok too, as the destination directory has the same content as the source directory.

The build dev failed: Cannot read property ‘indexOf’ of undefined is the main issue I seem to be facing.
Many thanks.

System information:
ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.46
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.2.0
Xcode version: Not installed

Can you please try open the terminal or command prompt as an administrator and then run the serve commond…

I have no idea why but I was getting the exact same error until I edited and saved a file in /src. Then the CLI in ran webpack and worked. Must be a bug on cli 2.1.13:

ionic-app-scripts serve

[22:31:42] ionic-app-scripts 0.0.46
[22:31:42] watch started …
[22:31:42] build dev started …
[22:31:42] clean started …
[22:31:42] clean finished in 4 ms
[22:31:42] copy started …
[22:31:42] transpile started …
[22:31:45] build dev failed: Cannot read property ‘indexOf’ of undefined
[22:31:45] copy: Error copying
"/Users/will/Documents/Ionic-Lab/tutorialApps/debtTracker/node_modules/ionic-angular/fonts" to
"/Users/will/Documents/Ionic-Lab/tutorialApps/debtTracker/www/assets/fonts"
[22:31:45] copy finished in 2.62 s
[22:31:45] watch ready in 2.63 s
[22:31:45] dev server running: http://localhost:8100/

[22:32:10] build started …
[22:32:11] transpile update started …
[22:32:11] transpile update finished in 24 ms
[22:32:11] webpack started …
[22:32:16] webpack finished in 5.07 s
[22:32:16] sass started …
[22:32:18] sass finished in 1.15 s
[22:32:18] build finished in 7.25 s

I’ve tried that and get the same error

Yes, that seems to have rebuilt it AOK, no “build dev failed: Cannot read property ‘indexOf’ of undefined” error.

So weird :S

Thanks