【问题标题】:Error while accessing the older branch in Sourcetree访问 Sourcetree 中的旧分支时出错
【发布时间】:2020-03-26 22:33:06
【问题描述】:

我在一个项目中工作并创建了许多不同的分支。如果我加载旧分支会引发错误为./src/polyfils.ts。我不知道什么是失败的。当前分支也在同样的情况下工作。

enter image description here

我正在使用

Angular CLI 8.3.19
节点 12.4.0

谢谢

【问题讨论】:

    标签: javascript angular typescript ecmascript-6 single-page-application


    【解决方案1】:

    在运行代码之前,请尝试运行

    git reset --hard origin/your-branch-name // the branch you just check out to get fresh version
    

    同时检查你的 src 文件夹中是否存在 polyfill

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-12-11
      • 1970-01-01
      • 1970-01-01
      • 2017-03-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多