我使用的是Dart Dev 1.7.0_03、聚合物0.14.2+1、core_elements 02.2+1和paper_elements 0.2.0。
证明运行我的应用程序编译成功,但不显示index.html页面。控制台中的index.html显示如下:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:8080/packages/core_elements/src/common.dart
An error occurred loading file: package:core_elements/src/common.dart没有其他输出。看看这些包,我也看不到这个资源。
我在DartEditor和eclipse dart-editor插件上都得到了这个结果。
谢谢
发布于 2014-09-22 23:48:33
首先,您应该尝试重新启动pub serve,然后
pub cache repair如果它不能解决问题,它可能是包中的错误。
https://stackoverflow.com/questions/25978126
复制相似问题