I tried collecting static files on an API project I am working with Django/Django REST Framework and I got this error on my console. What could be the cause of the error?
raise processed whitenoise.storage.MissingFileError: The file 'drf-yasg/redoc/redoc.standalone.js.map' could not be found with <whitenoise.storage.CompressedManifestStaticFilesStorage object at 0x000002DEED19E050>.
The JS file 'drf-yasg\redoc\redoc.min.js' references a file which could not be found: drf-yasg/redoc/redoc.standalone.js.map
Please check the URL references in this JS file, particularly any relative paths which might be pointing to the wrong location. enter image description here