Ask questionsComponent selectors can only be used in conjunction with babel-plugin-emotion
<!-- Thanks for your interest in the project. I appreciate bugs filed and PRs submitted! Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file).
Please fill out this template with all the relevant information so we can understand what's going on and fix the issue.
I'll probably ask you to submit the fix (after giving some direction). If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request -->
My entire .bablerc file.
What you did:
Just trying to get up and running. All of my other babel plugins and presets are working, so the .babelrc is being utilized correctly.
modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:3295 Uncaught Error: Component selectors can only be used in conjunction with babel-plugin-emotion. at handleInterpolation (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:3295) at Object.serializeStyles (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:3442) at modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:1422 at updateContextConsumer (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:27158) at beginWork (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:27346) at performUnitOfWork (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:30986) at workLoop (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:31026) at renderRoot (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:31109) at performWorkOnRoot (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:32016) at performWork (modules.js?hash=62fd6124b8e44fc05a98c40a20d419b909b3355e:31928)
<!-- Please provide the full error message/screenshots/anything
Your bug will get fixed much faster if we can easily run your code. Please paste the link to your CodeSandbox below. -->
If possible, create a CodeSandbox (https://codesandbox.io/s/new) or fork this CodeSandbox (https://codesandbox.io/s/pk1qjqpw67) and add a repoduction of your issue.
Does it seem like the issue is only happening to you?
If this is the case and you can't reproduce it in a CodeSandbox, your best hope of a solution will be to create a github repo that we can download and tinker with. -->
Not sure what I'm doing wrong here. babel-plugin-emotion is installed, in my babelrc, but I'm still getting this error. No ideas what else to try here.
Answer questions tkh44
I tried to create a reproduction of this here https://github.com/tkh44/plugin-help-thing. (npm i && npm run start)
Everything was working. I was trying to reduce the problem space a bit. I'm not sure how Meteor fits into here. I didn't see the jsx plugin (react-preset) in your babelrc so I didn't use it in the reproduction repo. Maybe just having some sort of reference to compare with your dependencies and imports may help.