dnbexperience / eufemia

DNB Design System
https://eufemia.dnb.no
Other
53 stars 32 forks source link

Module not found: Can't resolve './flag-icons/flags/1x1/xx.svg' #4307

Closed Monkeyboyen closed 41 minutes ago

Monkeyboyen commented 2 days ago

Installing with Eufeima version 10.56.0

and running project "npm run ****" the following error occurs stopping the project from loading. When using eufemia version 10.53.0 I don't receive the error.

SSL Server ready on https://localhost:3443 ○ Compiling /DashboardPage ... ⨯ ./node_modules/@dnb/eufemia/style/themes/theme-ui/ui-theme-components.min.css:4:1 Module not found: Can't resolve './flag-icons/flags/1x1/xx.svg'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module: ./node_modules/@dnb/eufemia/style/themes/theme-ui/ui-theme-components.min.css ./node_modules/@dnb/eufemia/style/index.js ./pages/_app.tsx ⨯ ./node_modules/@dnb/eufemia/style/themes/theme-ui/ui-theme-components.min.css:4:1 Module not found: Can't resolve './flag-icons/flags/1x1/xx.svg'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module: ./node_modules/@dnb/eufemia/style/themes/theme-ui/ui-theme-components.min.css ./node_modules/@dnb/eufemia/style/index.js ./pages/_app.tsx ⨯ ./node_modules/@dnb/eufemia/style/themes/theme-ui/ui-theme-components.min.css:4:1 Module not found: Can't resolve './flag-icons/flags/1x1/xx.svg'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module: ./node_modules/@dnb/eufemia/style/themes/theme-ui/ui-theme-components.min.css ./node_modules/@dnb/eufemia/style/index.js ./pages/_app.tsx GET /DashboardPage 500 in 37826ms

tujoworker commented 26 minutes ago

:tada: This issue has been resolved in version 10.57.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: