This issue been around for a while. There is no solution yet.
After installing the payments app in my docker dev environment the CSS stopped loading.
HI @avc Bench build seems to be the problem. The build process completed but did not generate the expected css files
AFAIK , this kind of problems come usually from:
-
Incorrect build process
Trybench build --force
-
Permissions issue on assets folder
Check this …
Erpnext Ui not loading the css and style
Hope this helps.
Thank you, I appreciate your time, unfortunately it did not solve my issue
Hi @Manav_Mandli My dev environment is installed inside a docker container so this command does not work for me.
The problem is not related to the permission to write to the assets.json file. The problem is related to the fact that during the build process, it first reads the contents of the assets.json file and tries to parse it. Namely, if there is no text in json format in the file, a json parse error occurs and the process cannot continue and write the new json content that it should create during the build. To solve the problem, if you write the empty json content “{}” into the assets.json file and save it, the build process will be successful. At least, this is how the problem was solved for me.
Hey, thank you for your answer, this indeed solved my issue. I will mark this as the answer.