Can't resolve './IconCard/IconCard'
Closed this issue ยท 0 comments
Olaf1989 commented
๐ I'm reporting a 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