Unexpected token { in app-version.js

I am using ember-cli-rails gem with ember 2.0.1 and ember-data 2.0.0

I am getting this error in chrome console when trying to run my application :

Uncaught SyntaxError: Unexpected token {

Which leads to this line in app-version.js :

const { name, version } = config['default'].APP;

I didn’t generate this code yet it’s got an error somewhere. I am nowhere a professional in ember and this is one of many annoying errors I get.

Hey max, That library introduced a bug for users not using ember-cli-babel. You can use my fork until the fix is merged GitHub - philipbjorge/ember-cli-app-version: Adds app version in Ember Inspector's Info tab