# ValueError: Missing staticfiles manifest entry for '/js/jquery.min.js'

**URL:** <https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842>\
**Category:** Deployment\
**Created:** [May 5, 2024, 8:19am UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842 "2024-05-05T08:19:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yeole-rohan](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/yeole-rohan/32/8173_2.png) [@yeole-rohan](https://forum.djangoproject.com/u/yeole-rohan)\
**Post date:** [May 5, 2024, 8:19am UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/1 "2024-05-05T08:19:53Z")

</div>

Hey there, This is for production ENV where debug is false

I have added STATICFILES\_STORAGE = ‘django.contrib.staticfiles.storage.ManifestStaticFilesStorage’ in settings file.  
run, collectstatic command after deleting previous static folder, as per doc, its able to create cache files. but some how getting

```auto
ValueError: Missing staticfiles manifest entry for '/js/jquery.min.js'

```

where /js/jquery.min.js is statc file.

More info  
STATIC\_URL = ‘static/’  
STATIC\_ROOT = os.path.join(BASE\_DIR, ‘static/’)

the URL gives 500 due to this.

but if I change DEBUG to True, it able to serve cache files correctly.

---

<div class="post-metadata">

**Author:** ![yeole-rohan](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/yeole-rohan/32/8173_2.png) [@yeole-rohan](https://forum.djangoproject.com/u/yeole-rohan)\
**Post date:** [May 7, 2024, 5:03am UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/2 "2024-05-07T05:03:17Z")

</div>

Hi there, any help on this?@KenWhitesell, Tagging you since I dont know anyone here.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [May 7, 2024, 12:28pm UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/3 "2024-05-07T12:28:48Z")

</div>

Please don’t ever tag any specific individual requesting assistance. We are all volunteers here, answering questions as time, knowledge, and energy allows. (Also, as one of the moderators here, I consider it my responsibility to read every post.)

At the moment, I don’t have any ideas - but I will respond if something comes to mind. I know we use that storage in a couple of our projects, but I don’t recall off-hand ever having _that_ problem. You could try deleting the existing manifest file and rerunning `collectstatic` to see what it generates - then manually validating its contents to the files copied to the `static` directory.

---

<div class="post-metadata">

**Author:** ![yeole-rohan](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/yeole-rohan/32/8173_2.png) [@yeole-rohan](https://forum.djangoproject.com/u/yeole-rohan)\
**Post date:** [May 8, 2024, 2:25am UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/4 "2024-05-08T02:25:25Z")

</div>

Okay fine. will check and revert you outcome

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [May 8, 2024, 3:13am UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/5 "2024-05-08T03:13:14Z")

</div>

What version of Django and Python are you using?

> [@yeole-rohan](#):
>
> `ValueError: Missing staticfiles manifest entry for '/js/jquery.min.js'`

Are you getting this in the collectstatic command? Or is this error coming from somewhere else? (If so, where?)

Note, the `STATICFILES_STORAGE` setting is deprecated as of Django 4.2, which means it will be going away in Django 5.1. See [Django Deprecation Timeline | Django documentation | Django](https://docs.djangoproject.com/en/5.0/internals/deprecation/#deprecation-removed-in-5-1)

---

<div class="post-metadata">

**Author:** ![yeole-rohan](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/yeole-rohan/32/8173_2.png) [@yeole-rohan](https://forum.djangoproject.com/u/yeole-rohan)\
**Post date:** [May 8, 2024, 4:33am UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/6 "2024-05-08T04:33:05Z")

</div>

1. That error comes after collectstatic command run. not during.  
Current version is `Django==4.2.11`, since `STATICFILES_STORAGE ` is deprecated, should I use like this.  
`STORAGES = { "default": {"BACKEND": "django.core.files.storage.FileSystemStorage"}, "staticfiles": {"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage"}, } if not DEBUG: STORAGES['staticfiles'] = {"BACKEND": "django.contrib.staticfiles.storage.ManifestStaticFilesStorage"}`

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [May 8, 2024, 12:35pm UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/7 "2024-05-08T12:35:27Z")

</div>

> [@yeole-rohan](#):
>
> That error comes after collectstatic command run. not during.

Please provide more details. When, and under what conditions, are you getting this message? Also, please clarify, are you getting this error only with this specific file, or are you getting it with every static file being referenced?

Also please describe your deployment environment. (I’m assuming this is your production environment because you’re running with DEBUG=False.)

---

<div class="post-metadata">

**Author:** ![InThePipeFiveByFive](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/inthepipefivebyfive/32/22359_2.png) [@InThePipeFiveByFive](https://forum.djangoproject.com/u/InThePipeFiveByFive)\
**Post date:** [July 2, 2024, 7:13am UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/8 "2024-07-02T07:13:52Z")

</div>

Hi @yeole-rohan, did you ever manage to solve this issue?

---

<div class="post-metadata">

**Author:** ![yeole-rohan](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/yeole-rohan/32/8173_2.png) [@yeole-rohan](https://forum.djangoproject.com/u/yeole-rohan)\
**Post date:** [July 2, 2024, 8:16am UTC](https://forum.djangoproject.com/t/valueerror-missing-staticfiles-manifest-entry-for-js-jquery-min-js/30842/9 "2024-07-02T08:16:34Z")

</div>

Nope… I myself minified files on local then made build on server… Though I removed this approach.
