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

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

Open
ctaylor-nurx opened this issue Aug 6, 2021 · 0 comments

Comments

@ctaylor-nurx
Copy link

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)
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

1 participant