horilla-opensource / horilla

Horilla is a free and open source HR software.
https://www.horilla.com/
GNU Lesser General Public License v2.1
83 stars 44 forks source link

whitenoise.storage.MissingFileError: sizzle.min.map when running python manage.py collectstatic #157

Closed ankit25821 closed 2 weeks ago

ankit25821 commented 2 weeks ago

Bug Report

Description

Encountered a whitenoise.storage.MissingFileError error when attempting to run python manage.py collectstatic in a Django project. This issue prevents the static files from being collected and served correctly, impacting the application's functionality.

Steps to Reproduce

  1. Navigate to the project directory in the terminal.
  2. Run the command python manage.py collectstatic.
  3. Observe the error message whitenoise.storage.MissingFileError.

Expected Behavior

The collectstatic command successfully collects all static files into the specified STATIC_ROOT directory without any errors.

Actual Behavior

The command execution fails with a whitenoise.storage.MissingFileError, indicating that the it fails to find .map files

Screenshots

Screenshot from 2024-04-24 13-56-27

Environment