-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Vite + babel-plugin-styled-components throws #396
Comments
Maybe it's not the case but when I bumped into this error it was because I didn't have twin.macro installed properly in the project. In my case I had a storybook app and tried to use twin.macro inside that but I didn't have twin.macro installed. Very weird error message though. |
How are you getting the plugin to work at all in vite? The most recent resolution I see in the other, longer Vite thread is to run very old versions of styled-components, which I am not willing to do. I just get |
Is this plugin supposed to work without macros? on vite it doesn't (SC v6 + plugin)
|
Hello, the problem seem to be related to wrapping svg Icons with styled-components, but it is very hard to follow.
I know this is not much for investigating, but i cant seem to find the proper stack.
Uncaught TypeError: Unable to determine current node version
at versionIncluded (index.js:51:9)
The text was updated successfully, but these errors were encountered: