Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dmagunov opened this issue Feb 12, 2016 · 2 comments
Open

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

dmagunov opened this issue Feb 12, 2016 · 2 comments

Comments

@dmagunov
Copy link

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

@Kilowhisky
Copy link

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.

@mwalper
Copy link

mwalper commented Feb 15, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants