How to install all modules at once by npx

when I look at the webpack official document, I see that the file is packaged using the npx webpack command in the document, and when I do so, I find that I have reported

.

Cannot find module "XXXX" error, a check is missing a module, so npm i XXXX install the module, and then run npx webpack , and reported the same error, this time is another module, so to and fro, can not be installed at all, is there any command to install all the missing modules at once?

Apr.28,2022

it turns out that direct install is fine

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-1eaeeac-47fcb.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-1eaeeac-47fcb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?