Open andrewBsk opened 1 year ago
@andrewBsk I found a temporary solution, you can just manually install babel-loader
.
In my case, this error appeared due to adding a custom worker but adding babel-loader
as a dependency solved this issue.
As I mentioned, this doesn't seem like an ideal solution.
I'm using next-pwa
within my monorepo with nx and I have some feeling that this error might connect with this 😄
@andrewBsk I found a temporary solution, you can just manually install
babel-loader
.In my case, this error appeared due to adding a custom worker but adding
babel-loader
as a dependency solved this issue. As I mentioned, this doesn't seem like an ideal solution. I'm usingnext-pwa
within my monorepo with nx and I have some feeling that this error might connect with this 😄
That worked @Jozwiaczek 😀
Summary
Following the guide lines from here, when i added a
pages/_offline.tsx
file i get a build failure.Versions
next-pwa
: 5.6.0next
:12.2.6Expected Behaviors
Should build
Screenshots