Unable to load ‘@webpack-cli/serve‘ command问题解决

简介: 错误原因webpack-cli版本问题,运行npm install webpack-cli@4.9.0 -D即可

Unable to load ‘@webpack-cli/serve‘ command问题解决



1.报错信息如下


3db90d15bd77429382e48117d06881c5.png

2.错误原因


webpack-cli版本问题,运行npm install webpack-cli@4.9.0 -D即可

目录
相关文章
|
27天前
|
Shell PHP Windows
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
|
1月前
webpack——You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
webpack——You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
98 0
|
4月前
|
Python
RuntimeError: The Werkzeug web server is not designed to run in production. Pass allow_unsafe_werkze
RuntimeError: The Werkzeug web server is not designed to run in production. Pass allow_unsafe_werkze
151 0
|
9月前
|
JavaScript
Error: Unsupported URL Type: npm:fork-ts-checker-webpack-plugin@^5.0.11
如果你去搜索,答案都是去升级你的npm 在StackOverflow说是vue3得在非vue-cli环境得单独配置。地址: 还有说npm install --save-dev fork-ts-checker-webpack-plugin 众说纷纭,都解决不了
101 0
|
前端开发
Error: webpack.optimize.CommonsChunkPlugin has been removed,
Error: webpack.optimize.CommonsChunkPlugin has been removed,
There is no configured/running web-servers found Please, run any web-configuration and hit the
There is no configured/running web-servers found Please, run any web-configuration and hit the
113 0
Error: Cannot find module ‘webpack-cli/bin/config-yargs‘
Error: Cannot find module ‘webpack-cli/bin/config-yargs‘
Error: Cannot find module ‘webpack-cli/bin/config-yargs‘
解决报错信息 —— Error: Cannot find module ‘webpack-cli/bin/config-yargs’
解决报错信息 —— Error: Cannot find module ‘webpack-cli/bin/config-yargs’
259 0
|
前端开发 JavaScript 开发者
webpack-dev-server 的常用命令参数| 学习笔记
快速学习 webpack-dev-server 的常用命令参数
webpack-dev-server 的常用命令参数| 学习笔记
|
JavaScript Shell API
webpack4环境配置之process.env
webpack4环境配置之process.env