简体   繁体   English

DartEditor M4 pub功能已损坏

[英]DartEditor M4 pub functions is broken

Just updated to DartEditor M4 and somehow 'Pub' related functions just stop working :( :( 刚刚更新到DartEditor M4,并且与“ Pub”相关的功能刚刚停止工作:( :(

Dart Editor version 0.4.7_r21548
Dart SDK version 0.4.7.1_r21548
Linux alex 3.5.0-27-generic #46-Ubuntu SMP Mon Mar 25 19:58:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I was used to right-click on pubspec.yaml file and choose 'Pub update' but now it just bark at me with error: 我曾经用鼠标右键单击pubspec.yaml文件并选择'Pub update',但现在它因错误而pubspec.yaml着我:

Please select a pubspec.yaml before running pub.

错误截图

The same error (?) I get if I click on Tools > Pub update and even if I double click on pubspec.yaml I see the window on screen it still says 'Please select...' 如果单击“ Tools > Pub update ,即使我双击pubspec.yaml ,也会出现相同的错误(?),我在屏幕上看到的窗口仍然显示“请选择...”。

Is there something wrong in my Dart Editor ? 我的Dart编辑器有问题吗? Should I re-install it ? 我应该重新安装吗?


Update 更新


It was fixed in: 它固定在:

    Dart Editor version 0.4.7_r21658
    Dart SDK version 0.4.7.5_r21658

If you did an update, do a clean install of the Editor and see if that solves the problem. 如果进行了更新,请全新安装编辑器,然后查看是否可以解决问题。 I have a clean install of M4 and don't have any issues with running pub. 我安装了M4,并且没有运行pub的任何问题。

有同样的问题,在dart论坛中进行了讨论之后,我打开了以下问题: https : //code.google.com/p/dart/issues/detail?id=9974&thanks=9974&ts=1366221062

If you do a clean install, you may not get the dialog with the error, but the pub tool does not actually run. 如果执行全新安装,则可能不会看到带有错误的对话框,但是pub工具实际上并未运行。 Remove your packages and then try, nothing gets updated or installed. 删除您的软件包,然后尝试,没有任何更新或安装。 It's badly broken. 它坏了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM