【问题标题】:pub get does not install redstone packagepub get 不安装红石包
【发布时间】:2015-10-10 09:18:18
【问题描述】:

我对 pub 有疑问。我是飞镖新手。我按照红石网页 (http://redstonedart.org/doc/Installation.html) 上的说明在我的服务器项目中使用红石。

我正在使用网络风暴。这是我的 pubspec.yaml 的复制粘贴:

name: ndolo_server

dependencies:
redstone: any

当我在应用程序根文件夹或 webstorm 上运行 pub get 时,pub 似乎工作正常(它显示“得到依赖项”)但包文件夹保持为空。 我运行了缓存修复(pub cache repair),在这里它似乎也可以正常工作,但是包文件夹保持为空。

当我运行 pub get --trace 时,我得到以下输出:

E:\devel\webapps\ndolo2\server> pub get --trace
Resolving dependencies...
Got dependencies!
E:\devel\webapps\ndolo2\server>

有人可以帮我吗?

谢谢!

【问题讨论】:

标签: dart dart-pub redstone.dart


【解决方案1】:

您需要在redstone...之前添加一个空格或一个制表符。
有关详细信息,请参阅https://www.dartlang.org/tools/pub/pubspec.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-12-16
    • 1970-01-01
    • 1970-01-01
    • 2016-03-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-10
    相关资源
    最近更新 更多