Ionic lab SyntaxError: Unexpected token '>' in safari 9.1.2

I started a new ionic v2 app and as per the crash course on the ionicframework homepage tried to run the command sudo ionic lab.
The safari browser opens and throws a syntax error: SyntaxError: Unexpected token ‘>’ on the console. Following is the screenshot of the safari browser.

Kindly help me with the same.

Thank you.

Provide a link please.

Also post your ionic info output.

crash course link : https://www.youtube.com/watch?v=O2WiI9QrS5s&feature=youtu.be

ionic info output:

global packages:

@ionic/cli-utils : 1.5.0
Gulp CLI         : CLI version 3.9.1 Local version 3.9.1
Ionic CLI        : 3.5.0

local packages:

@ionic/cli-plugin-gulp   : 1.0.2
@ionic/cli-plugin-ionic1 : 2.0.1
Ionic Framework          : ionic1 1.3.3

System:

Node       : v7.0.0
OS         : OS X El Capitan
Xcode      : Xcode 8.1 Build version 8B62 
ios-deploy : 1.9.0 
ios-sim    : 5.0.11 
npm        : 3.10.8 

Thank you

You somehow started an Ionic v1 app.

What commands did you execute?

The previous info sent was for a App developed in ionic v1

Following is the “ionic info” command for a new app created as per the crash course:

global packages:

@ionic/cli-utils : 1.5.0
Ionic CLI        : 3.5.0

local packages:

@ionic/app-scripts              : 2.0.2
@ionic/cli-plugin-ionic-angular : 1.3.2
Ionic Framework                 : ionic-angular 3.5.3

System:

Node       : v7.0.0
OS         : OS X El Capitan
Xcode      : Xcode 8.1 Build version 8B62 
ios-deploy : 1.9.0 
ios-sim    : 5.0.11 
npm        : 3.10.8 

Note: once the lab server is started it works fine on Google Chrome but throws the Syntax Error on the Safari browser.

Thanks

Can you click the line that causes the error to see the offending code?

Following is the screenshot of the error line:

Thanks

Hello,
I would like to know if there are any updates regarding this error.

Thank you

Create an issue here: https://github.com/ionic-team/ionic-cli/issues