ember-cli-nwjs icon indicating copy to clipboard operation
ember-cli-nwjs copied to clipboard

ember-cli-nwjs doesn't work with ES7 async

Open dmagunov opened this issue 9 years ago • 2 comments

Hello,

getting following error:

"Uncaught ReferenceError: regeneratorRuntime is not defined",

async start(){
    try {
       let response = await this.get('sync').request(json);
....

In ember-cli-build.js I am using:

var app = new EmberApp(defaults, { babel: { includePolyfill: true } });

On browser works fine

dmagunov avatar Feb 12 '16 01:02 dmagunov

I'm getting this error with ember 2.9.0+ with simply running the application. It appears to only happen when i build the app for OSX. If i build it for WIN32/64 it works fine.

Kilowhisky avatar Feb 08 '17 03:02 Kilowhisky

Hi, I'm experiencing a similar Problem with ember-concurrency Addon. Works fine in Browser but when building with nw the following error occurred var testGenFn = regeneratorRuntime.mark(function testGenFn() { ^ ReferenceError: regeneratorRuntime is not defined It makes no difference for which OS it's build.

mwalper avatar Feb 15 '17 08:02 mwalper