简体   繁体   中英

DartEditor M4 pub functions is broken

Just updated to DartEditor M4 and somehow 'Pub' related functions just stop working :( :(

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:

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...'

Is there something wrong in my Dart Editor ? 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.

有同样的问题,在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. Remove your packages and then try, nothing gets updated or installed. It's badly broken.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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