【问题标题】:Generated Dart Editor web app not working生成的 Dart 编辑器 Web 应用程序不工作
【发布时间】:2013-06-13 18:00:05
【问题描述】:

我刚刚下载了最新版本的飞镖编辑器并做了以下操作:

1) 创建了一个新的 Web 应用程序。当我尝试运行时,出现以下错误:

> Failed to load resource: the server responded with a status of 404
> (Not Found)  
> http://127.0.0.1:3030/C:/DartApps/HelloWeb/web/packages/browser/dart.js

2)经过一些研究,我尝试了以下方法 - 认为我可能需要一些依赖项 - Pub install。现在我收到以下错误:

> Pub install failed, [1] Resolving dependencies... Got socket error
> trying to find package "browser" at https://pub.dartlang.org. OS
> Error: Peer's Certificate issuer is not recognized., errno = -8179

有什么想法可以解决这个问题吗?我不会走太远。

谢谢,

肖恩

【问题讨论】:

  • 你有没有想过这个问题? “Up and Running”和海盗徽章样本都没有说明 pub-anything。

标签: dart dart-editor


【解决方案1】:

尝试先运行 pub update 命令。这应该会更新您的依赖项。

http://pub.dartlang.org/doc/pub-update.html

【讨论】:

  • 我遇到了同样的问题 - “无法识别对等证书问题”错误。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2013-05-06
  • 1970-01-01
  • 1970-01-01
  • 2015-10-14
  • 2023-03-14
  • 2010-09-13
  • 2014-03-19
相关资源
最近更新 更多