shadowwalker / next-pwa

Zero config PWA plugin for Next.js, with workbox 🧰
MIT License
3.71k stars 312 forks source link

Error: next-pwa@npm:5.6.0 [19fba] doesn't provide @babel/core (p7b8fe), requested by babel-loader #488

Open nomaanulhasan opened 11 months ago

nomaanulhasan commented 11 months ago

Summary

I am not sure but I think there are some missing dependencies in this package. I am trying update outdated packages using yarn but in terminal I am getting some warnings:

> yarn

➤ YN0000: ┌ Resolution step
➤ YN0002: │ next-pwa@npm:5.6.0 [19fba] doesn't provide @babel/core (p7b8fe), requested by babel-loader
➤ YN0002: │ next-pwa@npm:5.6.0 [19fba] doesn't provide webpack (pa9e1f), requested by babel-loader
➤ YN0002: │ next-pwa@npm:5.6.0 [19fba] doesn't provide webpack (pd1d15), requested by clean-webpack-plugin
➤ YN0002: │ next-pwa@npm:5.6.0 [19fba] doesn't provide webpack (p83077), requested by terser-webpack-plugin
➤ YN0002: │ next-pwa@npm:5.6.0 [19fba] doesn't provide webpack (pf6a15), requested by workbox-webpack-plugin
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 202ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 239ms
➤ YN0000: Done with warnings in 0s 673ms

Versions

How To Reproduce

Steps to reproduce the behavior:

just type yarn in terminal and hit enter

Expected Behaviors

It should update the outdated packages and just return the message that so so packages upgraded to latest version without any error/warning.

Screenshots

image