Comments (7)
Maybe it's a bug in dev-mode. I get rid of the warnings with moving .nuxt/dev-sw-dist
-files to the public
-folder.
from nuxt.
I'm not finding this file in my .nuxt
.
![Screenshot 2023-11-15 at 20 12 18](https://private-user-images.githubusercontent.com/12736263/283222962-81cbbb0b-da33-4986-8625-6b3dfbf98d80.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY5NDg5NDksIm5iZiI6MTcxNjk0ODY0OSwicGF0aCI6Ii8xMjczNjI2My8yODMyMjI5NjItODFjYmJiMGItZGEzMy00OTg2LTg2MjUtNmIzZGZiZjk4ZDgwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTI5VDAyMTA0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEyMWYzNTU0MzQ4OGQzZTQ5ODQ3YTgwNmVhNmM5ZjhkYjg5NzlhZmYyOTJiNDBmYzExYzU2ZTc3MzAzMGY4YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.lbVxLyXg0e4ULPoGYy_mQCCyW57eGU6fZ6FS0xUkwTA)
from nuxt.
This folder is created on yarn dev
or whatever dev
you use, but not right away.
You will not see the folder popping up before you open the browser:)
I mean; open .nuxt
in the File Explorer and the run dev
; then you see the dev-sw-dist
popping up when you open the browser.
from nuxt.
from nuxt.
This bug was so frustrating that I've decided to uninstall this package. However, removing the package leaves the bug behind. Wondering if anyone has figured out how to remove the problems from this package. This is such a headache.
[Vue Router warn]: No match found for location with path "/dev-sw.js?dev-sw"
[Vue Router warn]: No match found for location with path "/dev-sw.js"
from nuxt.
You need to uninstall the sw from the browser and run nuxt prepare
(will rebuild the .nuxt
folder and remove previous files including the dev-sw.js
file).
from nuxt.
It looks like it was actually a browser service worker that kept haunting me. Forgive the broken screenshot (Microsoft Windows problem 🤷♂️) but here's what it looks like if anyone finds themselves with the same issue and is unsure how to solve it after uninstalling this package.
from nuxt.
Related Issues (20)
- How to disable caching "_nuxt" folder due to "The server responded with a status of 429" after every update!!! HOT 4
- How to use it with useAsyncData? HOT 1
- Service worker keeps showing 'trying to install' when using `app.baseURL` under injectManifest strategy HOT 1
- Importing the virtual module in a unit test with Vitest HOT 2
- npm WARN when run "npm i @vite-pwa/nuxt -D" HOT 3
- [Feature Request]: dynamic manifest.json via nitro HOT 2
- pwa does not cache data in Nuxt 3 SSR HOT 3
- Firefox injectManifest not working HOT 1
- Cannot find module '#pwa' or its corresponding type declarations. HOT 2
- vite-pwa/nuxt not working on ios
- Module does nothing ? (EDIT: No Firefox support ?) HOT 9
- Nuxt3 + PWA warnings in terminal HOT 6
- cant use npm run build
- I can't get 'start_url' to work for me
- showInstallPrompt not being called HOT 1
- Uncaught ReferenceError: __NUXT_ASYNC_CONTEXT__ is not defined HOT 7
- Service Worker "import sentry-release-injection" error when loading page HOT 19
- @vite-pwa/nuxt and vue-tsc conflict HOT 4
- API Request URLs Open in New Tab Redirect to 404 Page HOT 2
- Generate PWA Assets functionality not works when srcDir is not default HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt.