What's wrong with workbox-webpack-plugin using InjectManifest mode?

configuration of webpack

 new workboxPlugin.InjectManifest({
    swSrc: "sw.js",
    swDest: "serviceWorker.js"
 })

error report:

clipboard.png

readFile is empty?

Jan.10,2022

workbox-webpack-plugin@3.6.3 requires a peer of webpack@ ^ 2.0.0 | | ^ 3.0.0 | | ^ 4.0.0

it must be that your webpack version is too low.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c20911-5615c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c20911-5615c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?