Missing staticfiles manifest entry for 'main.css'

I’m trying to publish an app with django but at the time of publishing it gives me the error that does not find main.css I guess the staticfiles, I leave the link to the repository, a part of the error that appears in logs and the link to the page (throws an internal server error)

Link on render:

https://wilovy09-portafolio.onrender.com/

Error:

Nov 1 12:43:40 AM      return self._url(self.stored_name, name, force)
Nov 1 12:43:40 AM             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 1 12:43:40 AM    File "/opt/render/project/src/.venv/lib/python3.11/site-packages/django/contrib/staticfiles/storage.py", line 182, in _url
Nov 1 12:43:40 AM      hashed_name = hashed_name_func(*args)
Nov 1 12:43:40 AM                    ^^^^^^^^^^^^^^^^^^^^^^^
Nov 1 12:43:40 AM    File "/opt/render/project/src/.venv/lib/python3.11/site-packages/django/contrib/staticfiles/storage.py", line 513, in stored_name
Nov 1 12:43:40 AM      raise ValueError(
Nov 1 12:43:40 AM  ValueError: Missing staticfiles manifest entry for 'main.css'

Repo link:

https://github.com/Wilovy09/PortafolioDJANGO

Hi,

The error sounds like you’re not collecting your static files as part of the build.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.