Skip to content

regeneratorRuntime is not defined #256

Closed
parse-community/parse-server
#9182
@ghost

Description

New Issue Checklist

Issue Description

Parse-Server is not starting after update to parse 5.2.0

Steps to reproduce

Update to parse 5.2.0

Actual Outcome

Should work like before

Expected Outcome

Should work like before

Environment

Server

  • Parse Server version: 7.1.0
  • Operating system: Docker image node:20.15.0-bookworm
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local / k8s

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: mongo:7-jammy
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local / k8s

Client

  • Parse JS SDK version: 5.2.0

Logs

*/node_modules/@parse/push-adapter/lib/WEB.js:59
var _ref = _asyncToGenerator( /
#PURE
/regeneratorRuntime.mark(function _callee(data, devices) {
^

ReferenceError: regeneratorRuntime is not defined
at /node_modules/@parse/push-adapter/lib/WEB.js:59:50
at /node_modules/@parse/push-adapter/lib/WEB.js:134:6
at Object. (
/node_modules/@parse/push-adapter/lib/WEB.js:202:2)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object. (
/node_modules/@parse/push-adapter/lib/ParsePushAdapter.js:29:12)

Node.js v20.15.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions