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

@emotion/babel-plugin >= 11.11.0 errors #3254

Open
Nantris opened this issue Sep 19, 2024 · 1 comment
Open

@emotion/babel-plugin >= 11.11.0 errors #3254

Nantris opened this issue Sep 19, 2024 · 1 comment

Comments

@Nantris
Copy link
Contributor

Nantris commented Sep 19, 2024

Current behavior:

ERROR in ./app/main.dev.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Unexpected falsy value: undefined
    at createDescriptor (/home/me/Documents/projects/myproject/node_modules/@babel/core/src/config/config-descriptors.ts:335:11)
    at createDescriptor.next (<anonymous>)
    at step (/home/me/Documents/projects/myproject/node_modules/gensync/index.js:261:32)
    at /home/me/Documents/projects/myproject/node_modules/gensync/index.js:273:13
    at async.call.result.err.err (/home/me/Documents/projects/myproject/node_modules/gensync/index.js:223:11)

To reproduce:

Upgrade from plugin 11.10.x to 11.11 or 11.12

Expected behavior:

No errors, identical to previous babel plugin versions.

I tried yarn upgrade also, but the issue persists.

Environment information:

  • react version: 18.2.0
  • @emotion/react version: 11.13.3
@Nantris
Copy link
Contributor Author

Nantris commented Oct 3, 2024

Friendly bump. Is there any problem staying on the old version? I've seen this issue for many months but only just got around to reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant