-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Module parse failed: Unexpected token (255:5) #220
Comments
I'm experiencing this issue as well from webpack in storybook. |
I created a CodeSandbox with https://codesandbox.io/s/220-gdqe3o?file=/src/index.tsx @wnz99 Can you add a minimal reproducible example (feel free to fork the above CodeSandbox)? |
Having this same issue :( |
@SonnyCastro happy to look into it if you have a minimal reproducible example! |
I fixed the issue by editing the browsersList within package.json Video of solution: https://www.youtube.com/watch?v=tFqj-JKYr4M BTW the wagmi library is great! Thank you for creating and maintaining it. It makes a lot of dev's life's easier. You're a beast and congrats for making such a sick lib! 👏👊🔥 |
@SonnyCastro and @tmm , i just stumbled into this error but after watching the video I ran into this error also any guess on how to fix it?
|
+1 |
Hey Yusuf i had that exact same error and was able to resolve it with this video solution: https://www.youtube.com/watch?v=tFqj-JKYr4M Im not sure what else to do if that doesn't resolve your issue only thing that come to mind is upgrading create-react-app version 🤷🏽♂️ |
Also amended the browserlist as it causes an issue with craco and the current version of the library: wevm/wagmi#220 for more info. Committing yarn.lock file also as part of this install.
Try adding |
Fix #289 |
Also amended the browserlist as it causes an issue with craco and the current version of the library: wevm/wagmi#220 for more info. Committing yarn.lock file also as part of this install.
Also amended the browserlist as it causes an issue with craco and the current version of the library: wevm/wagmi#220 for more info. Committing yarn.lock file also as part of this install.
This issue has been locked since it has been closed for more than 14 days. If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion. |
Is there an existing issue for this?
Package Version
Module parse failed: Unexpected token (255:5)
Current Behavior
CRA with package
[email protected]
fails with this error:wgami
versions below0.2.15
work fine.Expected Behavior
[email protected]
should still be supported.Steps To Reproduce
[email protected]
and[email protected]
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: