I installed the webpack with the command npm install webpack -g
, but when I try to use the webpack -h
or any other command of this problem
> PS C:\Users\renan\Desktop\Wchat> webpack -h The CLI moved into a
> separate package: webpack-cli Would you like to install webpack-cli?
> (That will run npm install -D webpack-cli) (yes/NO)
After yes, the following error appears
PS C:\Users\renan\Desktop\Wchat> webpack -h
The CLI moved into a separate package: webpack-cli
Would you like to install webpack-cli? (That will run npm install -D webpack-cli) (yes/NO)yes
npm WARN deprecated [email protected]: