运行 WebUI 新项目生成的代码时出现错误:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://127.0.0.1:3030/Applications/dart/dart-sdk/pkg/web_ui/web_ui.dart
Failed to load a file http://127.0.0.1:3030/Applications/dart/dart-sdk/pkg/web_ui/web_ui.dart
我已经运行了pub install
,并且包是从 project/packages 目录符号链接的。
我应该设置一个标志吗?
pub.yaml:
name: test
description: A sample WebUI application
dependencies:
browser: any
js: any
web_ui: any