网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  Error: Cannot find module 'webpack-cli/bin/config-yargs'

Error: Cannot find module 'webpack-cli/bin/config-yargs'

分类: IT文章 • 2022-04-27 10:35:43

If you upgrade webpack to 5. *, and webpack cli to 4. *, an error will be reported:

Error: Cannot find module 'webpack-cli/bin/config-yargs'

 

Temporary solution:
Back off webpack cli to version 3. * for example:

"webpack-cli": "^ 3.3.12"

相关推荐

  • Ionic3 遇到的一些错误-Error: Cannot find module 'reflect-metadata'
  • Error: Cannot find module 'webpack'
  • Error: Cannot find module 'stylus'
  • Error: Cannot find module 'express'
  • Error: Cannot find module '@babel/runtime/core-js/object/keys'(npm start报错)
  • vue项目报错Error: Cannot find module '@/views/sys/menu/index'
  • webpack报错:Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module 'babel-preset-env' from '...'
  • [RN] React Native :Error: Cannot find module 'asap/raw'
  • Error: Cannot find module 'node-sass' 报错处理
  • node启动时候报错 Error: Cannot find module 'express'
  • 字符串_操作
  • 转:Bitmap的六种压缩方式
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号