【问题标题】:Module '"../../parse5/lib"' has no exported member 'ElementLocation' - Angular Universal Firebase deployment error模块 '"../../parse5/lib"' 没有导出的成员 'ElementLocation' - Angular Universal Firebase 部署错误
【发布时间】:2020-06-25 11:44:27
【问题描述】:

我在 Firebase 托管上部署 Angular Universal 时遇到问题。我正在关注 circleci 上的部署,我在他们的控制台中收到此错误。这与节点版本有关还是什么?

我不知道从哪里开始寻找解决方案。

【问题讨论】:

    标签: node.js angular firebase deployment


    【解决方案1】:

    "通过更新 parse5 包快速修复它。 尝试运行 npm i -D parse5@latest"

    https://github.com/scullyio/scully/issues/370#issuecomment-601787438

    【讨论】:

    • 对我来说,同样的问题
    【解决方案2】:

    我在这个问题报告https://github.com/DefinitelyTyped/DefinitelyTyped/issues/26338中找到了适合我的解决方案

    我必须安装npm i --save-dev @types/jsdom@11.0.4

    这很奇怪,因为我从来没有遇到过这样的错误

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-07
      • 2021-03-25
      • 2018-10-19
      • 2017-03-29
      • 1970-01-01
      • 2021-08-05
      • 1970-01-01
      • 2021-04-09
      相关资源
      最近更新 更多