-
Notifications
You must be signed in to change notification settings - Fork 232
Pub serve in DDC mode doesn't work for project from web/subdir #1622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
/cc @jakemac53 |
This has been fixed already actually, the 1.24.0-dev.6.0 release should work (I also tested this project with my locally built sdk and it works). |
FWIW the problem is still reproduced with
from http://gsdview.appspot.com/dart-archive/channels/dev/raw/1.24.0-dev.6.0/sdk/ |
It is probably a windows specific issue, investigating further |
Alright, confirmed this is reproducible on windows. It looks like the library name for the module is missing the subdirectory portion on windows, so we try to call main() on a non-existing library. |
Fwiw, resolving dart-lang/sdk#27262 would likely solve this issue. |
Fixed by https://codereview.chromium.org/2899363002/, working on a cherry pick now |
From @alexander-doroshko on May 24, 2017 13:12
Environment: Windows 10, Dart SDK 1.24.0-dev.5.0.
Steps:
pub get
.pub serve
from the command line.http://localhost:8080/subdir/index.html
in Chrome. The app works just fine.pub serve --compiler=dartdevc
.http://localhost:8080/subdir/index.html
in Chrome. The app doesn't load.Copied from original issue: dart-lang/sdk#29704
The text was updated successfully, but these errors were encountered: