代码之家  ›  专栏  ›  技术社区  ›  davood beheshti

错误:优化错误[scripts.[contenthash:2].js]:X[Error]符号“merge”已声明

  •  0
  • davood beheshti  · 技术社区  · 1 年前

    我有一个 angular 16 项目 它给出了这个 错误 虽然 建筑物

        scripts.[contenthash:20].js:22308:35:
          22308 │ import { BehaviorSubject, Subject, merge } from 'rxjs';
                ╵                                    ~~~~~
    
      The symbol "merge" was originally declared here:
    
        scripts.[contenthash:20].js:10847:1118:
          10847 │ ...End, a3 as overrides, a4 as merge, a5 as _capitalize, a6 as ...
                ╵                                ~~~~~
    

    我真的不知道这个错误是什么,而且我在项目中没有这样的代码和模型

    我的施工方法就这么简单

    ng build --configuration production --aot
    

    0 回复  |  直到 1 年前