我在Eclipse luna中使用dart 1.9.00_dev。 在我从这个网站https://pub.dartlang.org/packages/json_object安装软件包之前,Everthing工作正常 该软件包改变了我的整个工作区,使所有软件包都可以看作是' raw'工作区中的文件夹。以前,只有突出显示的包存在。
我从我的Windows用户目录中移除了.dartium
和pub
文件夹以及项目中的所有包,然后先pub get
执行pub upgrade
。但是包文件夹仍然可见。它们填满了我的工作空间,让它看起来很不雅观。
如何防止这些额外文件夹可见。删除有问题的json_object
,删除pub
,.dartium
目录以及项目中的所有包都不起作用。
请参阅附图。
编辑1
当我运行pub cache repair命令时,我一直得到以下
J:\dart\dart-sdk>pub cache repair
Downloading analyzer 0.22.4...
Downloading args 0.12.1...
Downloading barback 0.15.2+2...
Downloading browser 0.10.0+2...
Downloading bwu_datagrid 0.0.18...
Downloading bwu_emojione_iconset_svg 0.1.1...
Downloading bwu_fontawesome_iconset_svg 0.0.8...
Downloading bwu_sparkline 0.0.7...
Downloading bwu_utils 0.0.2...
Downloading bwu_utils_browser 0.0.3...
Downloading clean_data 0.4.17...
Downloading code_transformers 0.2.3+1...
Downloading code_transformers 0.2.3+2...
Downloading collection 1.1.0...
Downloading constrain 0.2.0+1...
Downloading core_elements 0.3.2...
Downloading core_elements 0.4.0+6...
Downloading core_elements 0.5.0+2...
Downloading crypto 0.9.0...
Downloading csslib 0.11.0+2...
Downloading custom_element_apigen 0.1.3...
Downloading dev_string_converter 0.1.0...
Downloading dom_scheduler 0.0.1...
Downloading either 0.1.7...
Downloading event_commander 0.1.8+3...
Downloading firebase 0.2.1...
Downloading html5lib 0.12.0...
Downloading html_components 0.3.0...
Downloading http 0.11.1+1...
Downloading http_multi_server 1.3.0+1...
Downloading http_parser 0.0.2+5...
Downloading id 1.0.3...
Downloading intl 0.11.11...
Downloading jsonx 2.0.0...
Downloading liquid 0.2.1...
Downloading lists 0.0.20...
Downloading logging 0.9.2...
Downloading matcher 0.10.1+1...
Downloading matcher 0.11.3...
Downloading material_paper_colors 0.2.0...
Downloading observe 0.12.2...
Downloading option 0.3.3...
Downloading paper_elements 0.4.2...
Downloading paper_elements 0.5.0...
Downloading paper_elements 0.6.0+3...
Downloading path 1.3.0...
Downloading petitparser 1.3.2...
Downloading polymer 0.15.1+5...
Downloading polymer 0.15.3+2...
Downloading polymer_expressions 0.13.0+1...
Downloading pool 1.0.1...
Downloading quiver 0.18.2...
Downloading quiver_log 1.0.3...
Downloading scheduled_test 0.11.2+3...
Downloading shelf 0.5.6...
Downloading smoke 0.2.1+1...
Downloading source_maps 0.10.0+1...
Downloading source_span 1.0.2...
Downloading stack_trace 1.1.1...
Downloading string_scanner 0.1.2...
Downloading string_scanner 0.1.3...
Downloading template_binding 0.13.1...
Downloading template_binding 0.14.0...
Downloading unittest 0.11.1+1...
Downloading unittest 0.11.4...
Downloading utf 0.9.0+1...
Downloading vacuum_persistent 1.0.0...
Downloading validator 0.0.7...
Downloading vdom 0.7.1...
Downloading watcher 0.9.3...
Downloading web_components 0.9.0+1...
Downloading web_components 0.10.0...
Downloading yaml 2.1.0...
Downloading yaml 2.1.2...
Failed to repair bwu_emojione_iconset_svg 0.1.1. Error:
TimeoutException: Timed out after 30.0s while downloading https://pub.dartlang.o
rg/packages/bwu_emojione_iconset_svg/versions/0.1.1.tar.gz.
This is likely a transient error. Please try again later.
Failed to repair core_elements 0.5.0+2. Error:Reinstalled 72 packages.
TimeoutException: Timed out after 30.0s while downloading https://pub.dartlang.o
rg/packages/core_elements/versions/0.5.0+2.tar.gz.Failed to reinstall 2 packages
.
这可能是暂时性错误。请稍后再试。
由于