CSS not Loading after custom app installation

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 @Thevoice:

Tried bench build?

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:

Hope this helps.

1 Like

Thank you, I appreciate your time, unfortunately it did not solve my issue

hello @Thevoice

Check permissions over your bench folder.

sudo chmod o+rx /home/username

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.

2 Likes

Hey, thank you for your answer, this indeed solved my issue. I will mark this as the answer.