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

throw error: api.caller is not a function in babel-preset-env/index.js #10646

Closed
love2me opened this issue Nov 5, 2019 · 3 comments · Fixed by #10649
Closed

throw error: api.caller is not a function in babel-preset-env/index.js #10646

love2me opened this issue Nov 5, 2019 · 3 comments · Fixed by #10649
Labels
i: bug i: needs triage outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@love2me
Copy link
Contributor

love2me commented Nov 5, 2019

Bug Report

Current Behavior

api.caller is not a function at _default (/Code/node_modules/@babel/preset-env/lib/index.js:234:35) at Object.default (/Code/node_modules/@babel/helper-plugin-utils/lib/index.js:19:12) at getEnvPlugins (/Code/node_modules/parcel-bundler/src/transforms/babel/env.js:62:34) at getEnvConfig (/Code/node_modules/parcel-bundler/src/transforms/babel/env.js:12:25)

Environment

  • Babel version(s): [7.7.0]
  • Node/npm version: [Node 8.11.3/npm 5.6.0]
  • OS: [ OSX 10.13.4]
  • Monorepo: [no]
  • How you are using Babel: [cli]

Possible Solution
I think need to check api.caller is not a function in packages/babel-preset-env/index.js line 240.

@babel-bot
Copy link
Collaborator

Hey @love2me! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite."

@nicolo-ribaudo
Copy link
Member

Could you open a quick PR? 🙏

@love2me
Copy link
Contributor Author

love2me commented Nov 5, 2019

Could you open a quick PR? 🙏

I had to create a PR. Please review.
@nicolo-ribaudo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i: bug i: needs triage outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants