Comments (9)
What about checking canRead
first and ignoring anything which isn't generated yet?
from angular_components_example.
Guessing this is not an issue w/ this repo. Just a placeholder until we figure out where the bug is...
from angular_components_example.
It could just be that the uber import is missing some parts of the library. It is hand written. If that is really going to be the only entry point it would need to be generated.
from angular_components_example.
Whatever the root cause I think we also have an issue with build_runner
here - we aren't writing the asset graph for this build...
from angular_components_example.
The angular_gallery_section package has a builder that reads imports, loads the files as assets looking for documentation and examples. It is possible there are some assumptions being broken by the single entry point. This will probably significantly increase the time it takes to run the build if all files are now part of every search.
from angular_components_example.
Filed dart-lang/build#1207
Will have a fix out for that soon which should make it easier to diagnose the root cause here since we'll be able to inspect an asset graph.
from angular_components_example.
The root cause here is an ordering issue.
package:material_select_example/material_dropdown_select_demo.template.dart
is created in phase 368
One of the failing actions here is attempting to produce package:material_select_example/material_dropdown_select_demo.api.dart
which is in phase 364 so it's not allowed to read an output from phase 368 but it tries to read that file
@nshahan - Currently angular_gallery_section
has runs_before: ["angular|angular"]
- do you know why it would need to read the .template.dart
file? Is our ordering configuration insufficient here?
from angular_components_example.
Yeah I see why, it is listed as an import:
https://github.com/dart-lang/angular_components_example/blob/master/example/material_select_example/lib/material_dropdown_select_demo.dart#L25
The builder reads files seen as imports (transitively) looking for the classes and documentation to display in the gallery. The search is depth first so it turns out that we were just getting lucky before and finding what was needed before reaching the import that doesn't exist yet.
By changing to a single import, the files that actually contain the classes and docs the builder is looking for will not be read until much later.
I think one possible solution is to just avoid searching in .template.dart files because they should never contain what the builder is looking for.
from angular_components_example.
Fixed in #77.
from angular_components_example.
Related Issues (20)
- How can the material-expansionpanel-set work with sub componet? HOT 4
- Can't pub get HOT 1
- Stack Overflow when 'pub build' HOT 3
- material input type binding not working HOT 2
- material input autocomplete HOT 1
- Material Tab - Dynamic Issues HOT 1
- Material Tab - ngIf Side Effects HOT 1
- Update icons list link HOT 1
- The Input "Auto SelectAll" example is not working on Safari 11.0 HOT 2
- Unable to build under Win10 HOT 3
- Add instructions on how to build / run HOT 1
- Use new analytics tracking code
- Would be nice to give instructions for the release build HOT 3
- Material popup doesn't work on iPad 2017 Chrome 64 HOT 2
- Is there a way to reset material input state? HOT 3
- Deployed app contains `*.map` files HOT 17
- material-yes-button-text-color mixin don't work with stepper component HOT 1
- Example missing for `<reorder-list>` component HOT 4
- custom tooltipShowDelay HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular_components_example.