Error: Cannot find module 'extract-text-webpack-plugin'解决方法

Error: Cannot find module ‘extract-text-webpack-plugin‘解决方法

解决方法(在项目目录下进行即可)

1、全局安装npm init:

npm init -y -g

2、全局安装webpack(分别执行以下2条命令):

npm install webpack -g
npm install webpack --save-dev -g

3、全局安装extract-text-webpack-plugin:

npm install --save extract-text-webpack-plugin

相关文章:

  • 2022-12-23
  • 2021-08-04
  • 2022-01-20
  • 2022-01-07
  • 2021-06-26
  • 2022-03-03
猜你喜欢
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案