I cound not build correct pwa with next.js 9.5 new feature, webpack 5 support(beta).
Because this is beta feature, it might be fixed automatically by next.js.
Just for reporting.
Steps to reproduce the behavior:
package.json
{
"resolutions": {
"webpack": "^5.3.2"
}
}
yarn install && yarn build && yarn startI am not sure but sw.js seems to try to access the URL like below but cannot.
/autostatic/*
--
I'm having the same issue, it keeps prefixing it with /autostatic/. This was not happening couple weeks ago.
Same issue, it tries to fetch:

from /autostatic/*
Try yarn add next-pwa@beta, see if that works for you.
yarn add next-pwa@beta works for me 馃挴
Works for me too
Most helpful comment
Same issue, it tries to fetch:
from
/autostatic/*