【问题标题】:Angular 8 compile IssueAngular 8 编译问题
【发布时间】:2020-11-18 09:58:24
【问题描述】:

我在编译 Angular 8 应用程序时遇到问题:

chunk {main} main.js, main.js.map (main) 11.7 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 141 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 12.4 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 2.64 MB [initial] [rendered]
Date: 2020-07-28T21:19:53.546Z - Hash: 770b00fb42b4664247d8 - Time: 10789ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
: Compiled successfully.
    
Date: 2020-07-28T21:21:23.611Z - Hash: 0c9595fa24b10bb14e7a
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 11.7 kB [initial] [rendered]
Time: 73459ms
: Compiled successfully.
92% additional asset processing copy-webpack-plugin    

在编译项目时,它会停留在最后一行,报告由 copy-webpack-plugin 处理的 92% 的额外资产处理。

请帮我解决这个问题。

【问题讨论】:

  • 尝试删除你的 node_modules 并再次运行 npm install。
  • 我做了这个。但不工作

标签: angular8 angular-compiler-cli


【解决方案1】:

也许只是尝试停止 ng serve 然后再试一次?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-06-12
    • 1970-01-01
    • 2020-05-30
    相关资源
    最近更新 更多