Closed rafiandria23 closed 3 years ago
I have the same error
This is a problem with the latest update. Switching back to "next-pwa": "5.2.24" in package.json works for me, for now.
I have the same issue! Apparently the function getFallbackEnvs is missing "pageExtensions" argument
Apparently the function getFallbackEnvs is missing "pageExtensions" argument
High time for a project like this to start using a linter or even a transpiler like TypeScript to avoid these silly human errors, don't you think?
Fixed in 5.3.1
It works just fine now, thank you @shadowwalker
Summary
As mentioned in the title, I got pageExtensions undefined, when I downgraded to version 5.2.24, it went back to work just fine.
Versions
next-pwa
: ^5.3.0next
: 11.1.0How To Reproduce
Steps to reproduce the behavior:
yarn add next-pwa
yarn dev
It's a private repo, so all I can give is the screenshot.
Expected Behaviors
The
next dev
script should keep running without exiting.Screenshots
Here's my next.config.js
Here's the error screenshot