pub get 不安装红石包

pub get does not install redstone package

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

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

name: ndolo_server

dependencies:
redstone: any

当我在应用程序根文件夹或 webstorm 上 运行 pub get 时,pub 似乎工作正常(它显示 "Got dependencies")但是包文件夹留空。 我运行缓存修复(pub缓存修复),这里似乎也能正常工作,但包文件夹仍然是空的。

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

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

有人可以帮助我吗?

谢谢!

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