-
Notifications
You must be signed in to change notification settings - Fork 177
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
Running yarn dev after a fresh clone & install fails due to duplicate babel plugin/preset #32
Comments
Thanks for the suggestion, it did not work for me though. Is there anything else I could try to get the repo working? |
This worked for me 👍 Thanks for the heads up |
This worked for me too! thanks // .babelrc.js
{
"presets": [
["@babel/preset-env", { "targets": { "node": "10" } }],
"@babel/preset-react",
"@babel/preset-typescript"
]
// "plugins": ["@babel/plugin-proposal-class-properties"]
} |
Thank you! |
thanks it worked for me too |
Thank you ❤️ |
Wasted so much time on this. @mike-north consider fixing this because it really ruins the learning experience |
Thanks for the info everyone. What I needed to do was:
Once those were done the application started up as expected. |
Hi! I just started your course and ran into an issue getting up and running. Upon running
yarn dev
, I see this error:I think this is happening because
@babel/preset-env
now includes the@babel/plugin-proposal-class-properties
proposal as of their 7.10.0 release: https://babeljs.io/blog/2020/05/25/7.10.0#class-properties-and-private-methods-to-shippedproposals-option-of-babelpreset-env-11451httpsgithubcombabelbabelpull11451Commenting out
"plugins": ["@babel/plugin-proposal-class-properties"]
from.babelrc
seems to resolve the issue for me.Thanks for putting your course together, it's been great so far! Just wanted to submit this in case it helps other folks who got stuck on it too.
The text was updated successfully, but these errors were encountered: