---
title: "Comment by Chocolate Magnum on \"How to Create a PWA With Next.js\" | Hashnode"
description: "Hey! Thanks for the tutorial. I got my PWA working on localhost but every time I try to deploy to vercel/netlify, the service worker cannot be found and I lose"
url: "https://hashnode.com/posts/how-to-create-a-pwa-with-nextjs/615c5aac8dc8c063d56f5cba/comment/617eb1da75401e57d6a8a155"
---

[Discussion](https://hashnode.com/posts/how-to-create-a-pwa-with-nextjs/615c5aac8dc8c063d56f5cba)

Comment [How to Create a PWA With Next.js](https://hashnode.com/posts/how-to-create-a-pwa-with-nextjs/615c5aac8dc8c063d56f5cba)

[Chocolate Magnum](https://hashnode.com/@ChocolateMagnum)

[Oct 31, 2021](https://hashnode.com/posts/how-to-create-a-pwa-with-nextjs/615c5aac8dc8c063d56f5cba/comment/617eb1da75401e57d6a8a155)

Hey! Thanks for the tutorial. I got my PWA working on localhost but every time I try to deploy to vercel/netlify, the service worker cannot be found and I lose all PWA capabilities. Could you show us how to deploy next?

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Oct 31, 2021](https://hashnode.com/posts/how-to-create-a-pwa-with-nextjs/615c5aac8dc8c063d56f5cba/comment/617eb1da75401e57d6a8a155#reply-617ece7875401e57d6a8a3c2)

hey, you don't have to do anything special but can you go to the lighthouse tab in inspect, run with PWA checked and see my PWA is failing?

[Chocolate Magnum](https://hashnode.com/@ChocolateMagnum)

[Nov 1, 2021](https://hashnode.com/posts/how-to-create-a-pwa-with-nextjs/615c5aac8dc8c063d56f5cba/comment/617eb1da75401e57d6a8a155#reply-617f3a2c75401e57d6a8a9cf)

I ran lighthouse and it said no matching service worker detected. I don't know why that's happening. Any ideas?

[Georgey V B](https://hashnode.com/@geobrodas)

[Nov 2, 2021](https://hashnode.com/posts/how-to-create-a-pwa-with-nextjs/615c5aac8dc8c063d56f5cba/comment/617eb1da75401e57d6a8a155#reply-618164f2a4505a32bcf1d309)

Hey [Chocolate Magnum](https://hashnode.com/@ChocolateMagnum), there's a issue with the latest Next.js v12, I've raise a issue [here](https://github.com/vercel/next.js/issues/30692), let's see, I'm sure Vercel will fix it soon.

[Chocolate Magnum](https://hashnode.com/@ChocolateMagnum)

[Nov 2, 2021](https://hashnode.com/posts/how-to-create-a-pwa-with-nextjs/615c5aac8dc8c063d56f5cba/comment/617eb1da75401e57d6a8a155#reply-61817aafa4505a32bcf1d508)

Hi [Georgey V B](https://hashnode.com/@geobrodas) ahh so that's what it was. Thanks man
