Skip to content

ReferenceError: regeneratorRuntime is not defined if using babel.config.json #476

@ctaylor-nurx

Description

@ctaylor-nurx

I get this error no matter what file I try to run this on. I'm running ember 3.12.

Deleting babel.config.json from my project root fixes the issue. Not sure what the collision is...

Processing 1 files... 
Spawning 1 workers...
Sending 1 files to free worker...
/Users/christophe.taylor/nurx/webapp/node_modules/dir-glob/index.js:65
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(input, options) {
                                             ^

ReferenceError: regeneratorRuntime is not defined
    at /Users/christophe.taylor/nurx/webapp/node_modules/dir-glob/index.js:44:1
    at Object.<anonymous> (/Users/christophe.taylor/nurx/webapp/node_modules/dir-glob/index.js:44:1)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Module._compile (/Users/christophe.taylor/nurx/webapp/node_modules/pirates/lib/index.js:99:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Object.newLoader [as .js] (/Users/christophe.taylor/nurx/webapp/node_modules/pirates/lib/index.js:104:7)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions