Getting regeneratorRuntime is not defined

#1

I randomly started to get this error out of no where.

ReferenceError: regeneratorRuntime is not defined

also in the console it says Parse is not defined.

Any reason? Seemed like out of the blue

I am using https://unpkg.com/parse/dist/parse.min.js to deliver the SDK.

#2

Hi @farhansyed9 it looks like this error :

is released to how you initialise the parse server or the client.

Do you have the error on the server itself or on the client ?

#3

After npm update parse (SDK JS) from 2.1 to 2.2 i got same error:
ReferenceError: regeneratorRuntime is not defined at eval (ParseQuery.js:395).

Use it in browser with Vue like this:

import Parse from "parse";
Parse.initialize(PARSE_APP_ID, PARSE_APP_KEY);
Parse.serverURL = PARSE_APP_URL;
const query = new Parse.Query(className);

… etc
This worked well before the update

#4

This has been address and release in 2.2.1