-
Notifications
You must be signed in to change notification settings - Fork 262
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
Missing @babel/core
dependency
#736
Comments
Hi @rtritto , how do you work with styled-jsx inside your app? |
I don't use |
* Fixes #736 Moving `@babel/core` from devDependencies to dependencies. Fixes the missing dependency error that comes while installing it through `Yarn 2, Yarn 3`. Error - ` styled-jsx@npm:4.0.0 [78a22] doesn't provide @babel/core (pad17e), requested by @babel/plugin-syntax-jsx ` * moving babel back to dev deps and adding peerdependencies meta option * Update package.json Co-authored-by: Jiachi Liu <inbox@huozhi.im>
Tested the error is gone with |
Resolved by vercel/next.js#32742 , you can install latest canary ( |
* Fixes vercel/styled-jsx#736 Moving `@babel/core` from devDependencies to dependencies. Fixes the missing dependency error that comes while installing it through `Yarn 2, Yarn 3`. Error - ` styled-jsx@npm:4.0.0 [78a22] doesn't provide @babel/core (pad17e), requested by @babel/plugin-syntax-jsx ` * moving babel back to dev deps and adding peerdependencies meta option * Update package.json Co-authored-by: Jiachi Liu <inbox@huozhi.im>
* Fixes vercel/styled-jsx#736 Moving `@babel/core` from devDependencies to dependencies. Fixes the missing dependency error that comes while installing it through `Yarn 2, Yarn 3`. Error - ` styled-jsx@npm:4.0.0 [78a22] doesn't provide @babel/core (pad17e), requested by @babel/plugin-syntax-jsx ` * moving babel back to dev deps and adding peerdependencies meta option * Update package.json Co-authored-by: Jiachi Liu <inbox@huozhi.im>
* Fixes vercel/styled-jsx#736 Moving `@babel/core` from devDependencies to dependencies. Fixes the missing dependency error that comes while installing it through `Yarn 2, Yarn 3`. Error - ` styled-jsx@npm:4.0.0 [78a22] doesn't provide @babel/core (pad17e), requested by @babel/plugin-syntax-jsx ` * moving babel back to dev deps and adding peerdependencies meta option * Update package.json Co-authored-by: Jiachi Liu <inbox@huozhi.im>
* Fixes vercel/styled-jsx#736 Moving `@babel/core` from devDependencies to dependencies. Fixes the missing dependency error that comes while installing it through `Yarn 2, Yarn 3`. Error - ` styled-jsx@npm:4.0.0 [78a22] doesn't provide @babel/core (pad17e), requested by @babel/plugin-syntax-jsx ` * moving babel back to dev deps and adding peerdependencies meta option * Update package.json Co-authored-by: Jiachi Liu <inbox@huozhi.im>
* Fixes vercel/styled-jsx#736 Moving `@babel/core` from devDependencies to dependencies. Fixes the missing dependency error that comes while installing it through `Yarn 2, Yarn 3`. Error - ` styled-jsx@npm:4.0.0 [78a22] doesn't provide @babel/core (pad17e), requested by @babel/plugin-syntax-jsx ` * moving babel back to dev deps and adding peerdependencies meta option * Update package.json Co-authored-by: Jiachi Liu <inbox@huozhi.im>
Summary
After I install
styled-jsx
with yarn, I get dependency not found warnings in yarn log.@babel/core
should be added in dependencies.Versions
styled-jsx
: 4.0.0How To Reproduce
Steps to reproduce the behavior:
yarn init -y
yarn set version berry
yarn add styled-jsx react
Results
Actual
Expected
No warning in yarn log.
Workaround
Add in
.yarnrc.yml
:The text was updated successfully, but these errors were encountered: