Cannot find module '@emotion/styled-base'
See original GitHub issueDescribe the bug Installing latest dependencies causes build/lint errors.
Cannot find module '@emotion/styled-base' from 'node_modules/@commercetools-uikit/accessible-button/dist/accessible-button.cjs.js'
To Reproduce https://github.com/commercetools/merchant-center-application-kit/pull/1673/checks?check_run_id=983630152
Expected behavior
The @emotion/styled-base
is not a peer dependency and shouldn’t be required to be installed by consumers.
Screenshots
Additional context Maybe something related to this? https://github.com/commercetools/ui-kit/blob/2db4063679813da5929b92e64a75582a8bc5e0bf/rollup.config.js#L38-L40
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (10 by maintainers)
Top Results From Across the Web
Module not found: Can't resolve '@emotion/react'
I had a similar issue and I resolved it by calling: npm install @emotion/react. or yarn add @emotion/react.
Read more >Module not found: Can't resolve @emotion/react | bobbyhadz
To solve the error "Module not found: Error: Can't resolve '@emotion/react'", make sure to install the @emotion/react package by opening your terminal in ......
Read more >@emotion/styled - npm
Start using @emotion/styled in your project by running `npm i @emotion/styled`. There are 6753 other projects in the npm registry using ...
Read more >can't resolve emotion/ react and styled error solved in material ...
Module not found : Can't resolve '@ emotion /react' and '@ emotion / styled ' solved.
Read more >Storybook throw error if used emotion 11 #13277 - GitHub
Describe the bug Problem with emotion 11 : Module not found: Error: Can't resolve '@emotion/styled/base' To Reproduce yarn storybook Code ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue with emotion was fixed in version
10.30.1
(https://github.com/commercetools/ui-kit/pull/1483). Please make sure that all your packages are on the latest version.Nice, glad we got this solved! 🙌