akeneo / akeneo-design-system

https://akeneo.github.io/akeneo-design-system/
Other
13 stars 7 forks source link

Can't resolve './IconCard/IconCard' #2

Closed Olaf1989 closed 3 years ago

Olaf1989 commented 3 years ago

:bug: I'm reporting a Bug :bug:

Akeneo 5.0.23

When running the command yarn --cwd=akeneo-design-system run lib:build the following error is thrown:

ERROR in ./node_modules/akeneo-design-system/lib/components/index.js
Module not found: Error: Can't resolve './IconCard/IconCard' in '/home/olaf/phpstack/projects/akeneo/node_modules/akeneo-design-system/lib/components'
 @ ./node_modules/akeneo-design-system/lib/components/index.js 22:13-43
 @ ./node_modules/akeneo-design-system/lib/index.js
 @ ./public/bundles/akeneomeasure/index.tsx
 @ ./public/js/module-registry.js
 @ ./vendor/akeneo/pim-community-dev/frontend/webpack/require-context.js
 @ ./public/bundles/pimui/js/form/builder.js
 @ ./public/bundles/pimui/js/index.js
 @ multi babel-polyfill ./public/bundles/pimui/js/index.js

It seems it wants to load the IconCard component which isn't present in the lib directory, link