无法在 'Cache' 上执行 'put':workbox 和 nuxt
Failed to execute 'put' on 'Cache' : workbox and nuxt
我正在使用 Nuxtjs 2.15.7,最近在我的控制台中收到此错误
正如我搜索的那样,只找到了 @nuxt/pwa
issue 。但是我的项目中没有pwa模块!!
这是我的 package.json
{
"name": "my-app",
"version": "2.0.0",
"private": true,
"scripts": {
"dev": "nuxt",
"dev:host": "nuxt --hostname 0.0.0.0 --port 8000",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@nuxtjs/auth": "^4.9.1",
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/device": "^2.1.0",
"@nuxtjs/google-gtag": "^1.0.4",
"@nuxtjs/gtm": "^2.4.0",
"cookie-universal-nuxt": "^2.1.4",
"core-js": "^3.15.1",
"nuxt": "^2.15.7",
"swiper": "^5.4.5",
"v-viewer": "^1.5.1",
"vee-validate": "^3.3.7",
"vue-awesome-swiper": "^4.1.1",
"vue-cropperjs": "^4.1.0",
"vue-easy-dnd": "^1.12.2",
"vue-persian-datetime-picker": "^2.2.0",
"vue-product-zoomer": "^3.0.1",
"vue-sweetalert2": "^4.2.1",
"vue2-editor": "^2.10.2",
"vuedraggable": "^2.24.0"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.1",
"@mdi/font": "^5.9.55",
"@nuxtjs/dotenv": "^1.4.1",
"@nuxtjs/vuetify": "1.12.1",
"flipclock": "^0.10.8",
"font-awesome": "^4.7.0",
"glob": "^7.1.7",
"noty": "^3.2.0-beta",
"nuxt-gsap-module": "^1.2.1",
"sass": "1.32.13"
}
}
有人可以帮忙吗?
更新
我只在开发模式下得到错误
我清除了缓存存储并重新 运行 nuxt,但仍然出现错误,并且已再次创建工作箱的缓存:
在您的开发工具中注销软件。
既然绑定了域名,应该就是这个吧。该按钮几乎就在您的第一个屏幕上。
我正在使用 Nuxtjs 2.15.7,最近在我的控制台中收到此错误
正如我搜索的那样,只找到了 @nuxt/pwa
issue 。但是我的项目中没有pwa模块!!
这是我的 package.json
{
"name": "my-app",
"version": "2.0.0",
"private": true,
"scripts": {
"dev": "nuxt",
"dev:host": "nuxt --hostname 0.0.0.0 --port 8000",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@nuxtjs/auth": "^4.9.1",
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/device": "^2.1.0",
"@nuxtjs/google-gtag": "^1.0.4",
"@nuxtjs/gtm": "^2.4.0",
"cookie-universal-nuxt": "^2.1.4",
"core-js": "^3.15.1",
"nuxt": "^2.15.7",
"swiper": "^5.4.5",
"v-viewer": "^1.5.1",
"vee-validate": "^3.3.7",
"vue-awesome-swiper": "^4.1.1",
"vue-cropperjs": "^4.1.0",
"vue-easy-dnd": "^1.12.2",
"vue-persian-datetime-picker": "^2.2.0",
"vue-product-zoomer": "^3.0.1",
"vue-sweetalert2": "^4.2.1",
"vue2-editor": "^2.10.2",
"vuedraggable": "^2.24.0"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.1",
"@mdi/font": "^5.9.55",
"@nuxtjs/dotenv": "^1.4.1",
"@nuxtjs/vuetify": "1.12.1",
"flipclock": "^0.10.8",
"font-awesome": "^4.7.0",
"glob": "^7.1.7",
"noty": "^3.2.0-beta",
"nuxt-gsap-module": "^1.2.1",
"sass": "1.32.13"
}
}
有人可以帮忙吗?
更新
我只在开发模式下得到错误
我清除了缓存存储并重新 运行 nuxt,但仍然出现错误,并且已再次创建工作箱的缓存:
在您的开发工具中注销软件。
既然绑定了域名,应该就是这个吧。该按钮几乎就在您的第一个屏幕上。