【问题标题】:Angular says : The webpack.config.js file already existsAngular 说: webpack.config.js 文件已经存在
【发布时间】:2018-02-28 20:15:37
【问题描述】:

当我运行ng eject 时出现以下错误

The webpack.config.js file already exists.

在使用 Angular 时,make clean 的作用是什么?

【问题讨论】:

    标签: webpack angular-cli


    【解决方案1】:

    ng 提供了一个--force 选项

    --force (Boolean) Overwrite any webpack.config.js and npm scripts already existing.
    

    【讨论】:

      猜你喜欢
      • 2015-07-23
      • 2014-06-29
      • 2020-01-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-26
      • 1970-01-01
      • 2018-10-21
      相关资源
      最近更新 更多