Uncaught (in promise) TypeError: Failed to execute 'put' on 'Cache': Vary header contains *
See original GitHub issueWhen I first run the code, browser console shows this error message:
Uncaught (in promise) TypeError: Failed to execute 'put' on 'Cache': Vary header contains *
at Object.put (workbox-core.prod.js:1)
put @ workbox-core.prod.js:1
My config:
create-nuxt-app v3.7.1
✨ Generating Nuxt.js project in nuxt-job-1
? Project name: nuxt-job-1
? Programming language: JavaScript
? Package manager: Yarn
? UI framework: None
? Nuxt.js modules:
? Linting tools: (Press <space> to select, <a> to toggle all, <i> to invert selection)
? Testing framework: None
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Static (Static/Jamstack hosting)
? Development tools:
? What is your GitHub username? mashirozx
? Version control system: Git
🎉 Successfully created project nuxt-demo
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Uncaught (in promise) TypeError: Failed to execute 'Cache' on ...
You get this exception when any files which you have mentioned in your cache list return a 404 response. So make sure the...
Read more >Uncaught (in promise) TypeError: Failed to execute ... - GitHub
Was facing this problem and found it worked by deleting any URLs (in var filesToCache at serviceworker.js) that I don't have in my...
Read more >Failed to execute 'put' on 'Cache' - WordPress.org
I am getting the below error. Uncaught (in promise) TypeError: Failed to execute 'put' on 'Cache': Partial response (status code 206) is unsupported...
Read more >PWA Fix - Failed to execute 'Cache' on 'addAll' - AshKeys
If one of the urls mentioned below returns 404 error, then you get Fix: Uncaught (in promise) TypeError: Failed to execute 'Cache' on...
Read more >Cache.put() - Web APIs | MDN
The put() method of the Cache interface allows key/value pairs to be added to the current Cache object.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mashirozx That error is being triggered from an existing service worker you’ve installed on
localhost:3000
- nothing to do with the repro you’ve shared. (Note that it doesn’t replicate in codesandbox for that reason.) Make sure to clear your service workers in chrome://serviceworker-internals/Hope that helps 😊
Oh, yeah, it’s the reason, a chrome plugin
Thanks 😊