ui-kit: Cannot find module '@emotion/styled-base'

Describe 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'
image

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 image

Additional context Maybe something related to this? https://github.com/commercetools/ui-kit/blob/2db4063679813da5929b92e64a75582a8bc5e0bf/rollup.config.js#L38-L40

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (10 by maintainers)

Most upvoted 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.