[1.3-beta.16] Async/await 'Promise is not defined'

I’m trying to use som async/await syntax, but I keep getting this error:

ReferenceError: Promise is not defined at callInvokeWithMethodAndArg (node_modules/meteor/babel-runtime/node_modules/regenerator/runtime.js:182:1)

Any idea what could be causing this? Is it maybe related to the Node version that Meteor is running, and if so, how would I fix this, since to my understanding, Meteor is still pinned to 0.10 server-side.

Any help or thoughts are appreciated, as I’m a quite puzzled by this. :slight_smile:

1 Like

Hey Jako, did you manage to find a solution for your problem? I’m experiencing this behaviour too, specifically when running unit tests on a Meteor package.

Do you have some more info on your setup and more expanded logs?

Turns out upgrading from Meteor v1.3 to v1.4 did the trick. I think it was something to do with the meteor/promise package.

1 Like