yjbanov / butterfly

A web framework for Dart based on Flutter's widget model
Apache License 2.0
156 stars 13 forks source link

Could not find test/index.html. #42

Open atfa opened 5 years ago

atfa commented 5 years ago

I am trying butterfly.

  1. git clone

  2. pub get

  3. modify the file:pubspec.yaml

dev_dependencies:
  build_runner: '>=0.8.10 <2.0.0'
  build_web_compilers: '>=0.3.6 <0.5.0'
  1. webdev serve . There is NO ERROR. Great!
$ webdev serve
Creating build script, took 12744ms
[INFO] Setting up file watchers completed, took 31ms
[INFO] Waiting for all file watchers to be ready completed, took 205ms
[INFO] Building new asset graph completed, took 1.6s
[INFO] Checking for unexpected pre-existing outputs. completed, took 1ms
[INFO] Running build completed, took 26.7s
[INFO] Caching finalized dependency graph completed, took 256ms
[INFO] Succeeded after 27.0s with 1242 outputs (3991 actions)
Serving `test` on http://localhost:8080
  1. Then open chrome http://localhost:8080/ It shows:
Could not find test/index.html. test contains:
test/butterfly_test.dart.todo
test/f2_object_test.dart
test/f2_widgets_binding_test.dart
test/testing.dart
test/f2_object_test.module.library
test/f2_widgets_binding_test.module.library
test/testing.module.library
test/f2_object_test.dartdevc.module
test/f2_widgets_binding_test.dartdevc.module
test/testing.dartdevc.module
test/testing.dartdevc.linked.sum
test/f2_object_test.ddc.js
test/f2_object_test.ddc.js.map
test/f2_widgets_binding_test.ddc.js
test/f2_widgets_binding_test.ddc.js.map
test/testing.ddc.js
test/testing.ddc.js.map
test/f2_object_test.dart.bootstrap.js
test/f2_object_test.dart.js
test/f2_widgets_binding_test.dart.bootstrap.js
test/f2_widgets_binding_test.dart.js

So I want to know how to try butterfly? Thanks.

yjbanov commented 5 years ago

You caught the project in the middle of a re-write. Everything is broken right now. Try checking out revision https://github.com/yjbanov/butterfly/commit/1c3c7af852836d85e7830ae13ac0a50858ad11b1. That might actually work.