0

运行“pub get”时出现以下错误

IO  : Deleting directory C:\Users\HANGS_~1\AppData\Local\Temp\pub_08dcace7-6d3d-11e3-bed4-2016d87b1a0e.
IO  : Renaming directory C:\Users\hangs_000\AppData\Roaming\Pub\Cache\_temp\dir08dcace6-6d3d-11e3-bed4-2016d87b1a0e to C:\Users\hangs_000\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\http-0.9.2
FINE: Clean up system cache temp directory C:\Users\hangs_000\AppData\Roaming\Pub\Cache\_temp.
IO  : Deleting directory C:\Users\hangs_000\AppData\Roaming\Pub\Cache\_temp.
ERR : Rename failed
FINE: directory_impl.dart 208                                                                              _Directory.renameSync
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib\_internal\pub\lib\src\io.dart 321            renameDir
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib\_internal\pub\lib\src\io.dart 325            renameDir
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib\_internal\pub\lib\src\source\hosted.dart 99  HostedSource.get.<fn>.<fn>
    | dart:isolate                       

                                                              _RawReceivePortImpl._handleMessage

我尝试删除 pub 缓存和我的包目录

4

1 回答 1

0

这是一个错误: Pub 安装失败并显示“删除失败”

于 2014-01-28T16:18:47.970 回答