Closed musaffa closed 7 years ago
made easier to fix in #117
FWIW, I got this error after upgrading to Ember CLI 2.13 without switching to yarn.
Even more curiously, when I get this error running ember s
I'm able to make any change (even just a whitespace change) and when ember-cli sees the change and recompiles, it doesn't have this error anymore. :thinking:
@musaffa Did you change your Ember CLI Targets such that it Ember CLI might no longer be compiling ES7+ features? I noticed my instance of the issue was caused by Ember CLI serving async
/await
natively.
See also: #118, #119.
I'm also seeing this error after adding these options to my ember-cli-build:
babel: {
optional: ['es6.spec.symbols'],
blacklist: [
'es6.forOf',
'regenerator',
'es6.arrowFunctions',
'es6.constants',
'es6.blockScoping',
'es6.templateLiterals'
]
},
'ember-cli-babel': {
includePolyfill: true
}
And I definitely am using async / await / generators in my code
should be fixed in v1.1.14
After upgrading to ember 2.13 and switching to
yarn
, I get the following error: