R3mb0
March 24, 2021, 12:28pm
1
System Information
Strapi Version : 3.5.3
Operating System : Windows 10
Database : MongoDB
Node Version : 14.16.0
NPM Version : 7.6.1
Yarn Version : 1.22.4
Hello,
I wanted to create a new Plugin using the generate utility.
So I created it and then rebuild the Admin UI using “strapi build”.
But after i started the dev server, the UI was broken as you can see in the image.
I tried to fix it by deleting the plugin and then rebuilding, but it didn’t help.
Maybe someone can help me fix this.
If you are using strapi build
, that means you have installed strapi globally, we do not recommend using the global installed strapi.
Use the local one: yarn strapi build or npm run strapi build
Also, can you try to delete the .cache and build folders before building the admin ui.
R3mb0
March 24, 2021, 4:53pm
3
Thx for the quick reply,
I tried both: deleting .cache and build and using the local yarn strapi build .
But unfortunately the result is the same as before.
Hi @R3mb0
Having the same issue, Did you by any mean get it fixed?
R3mb0
April 20, 2021, 6:02pm
5
I tried using npm instead of yarn and for some reason it worked.
I don’t know why, so i can’t give you further explanation…
But maybe you can give it a try.