problem description
I have installed webpack-cli, globally when using webpack4, but when I check the webpack version number, I still see
One CLI for webpack must be installed. These are recommended choices, deliveredas separate packages:
- webpack-cli ( https://github.com/webpack/we.
The original webpack full-featured CLI.
We will use "npm" to install the CLI via "npm install-D".
Do you want to install "webpack-cli" (yes/no):
then select yes
{Error: Cannot find module "webpack-cli"
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:659:17)
at require (internal/modules/cjs/helpers.js:22:18)
at runCommand.then (C:\Users\Mechrevo\AppData\Roaming\npm\node_global\node_modules\webpack\bin\webpack.js:142:5)
at process.internalTickCallback (internal/process/next_tick.js:77:7) code: "MODULE_NOT_FOUND" }
it still doesn"t fit. I want to ask the bosses to tell me how to solve this. I"ve deleted it all and tried to reinstall it globally. It"s the same
.