Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strapi V4 Error: Can't resolve '@strapi/design-system/themes'

I'm trying to run the new Strapi version 4 application. But it returns this error. Is there any bug in new strapi v4? or I'm doing wrong anything? I'm using strapi official guide to start a new project

installation command npx create-strapi-app@latest molla-admin.

NodeJS v16

Windows 11

Error

ModuleNotFoundError: Module not found: Error: Can't resolve '@strapi/design-system/themes' in 'C:\Users\Admin\Desktop\molla-admin\.cache\admin\src'
    at C:\Users\Admin\Desktop\molla-<anonymous>:10:1)
    

You might be thinking @strapi/design-system package is missing right? After that, I also tried to install both @strapi/design-system and @strapi/design-system/themes npm package Still, it doesn't work. It returns a new error

ModuleNotFoundError: Module not found: Error: Can't resolve '@strapi/icons/CarretDown' in 'C:\Users\Admin\Documents\testing\strapi-v4-app\node_modules\@strapi\helper-plugin\build'

Should I go on for the next missing Module?

like image 619
Hasibur Rahman Avatar asked Jan 25 '26 23:01

Hasibur Rahman


1 Answers

For me the issue was solved by installing @strapi/design-system (Node: v14.15.5, npm: 8.1.3)

npm install @strapi/design-system
like image 70
Andrii Kovalevskyi Avatar answered Jan 28 '26 16:01

Andrii Kovalevskyi