Error installing webpack-cli in webpack

as shown in the figure, the installation of webpack-cli failed. Npm install-g webpack-cli,npm install-D webpack-cli has been passed, and the version number of webpack-cli can be printed in cmd. The node version is v8.11.2 and the NPM version is 5.6.0. The version of webpack is 3.5.5. What is the problem with the failure of webpack-p?

Mar.12,2021

command line moved to a separate package, npm install-g webpack-cli

Menu