Closed Hecatoncheir closed 8 years ago
Something weird is going on here, pub seems to think that the file example/packages/test/src/runner/browser/static/host.dart
is part of the wysiwyg_e
package, which it is not.
How can I fix this?
cc @nex3 do you have any idea what would cause this?
This error usually means that there's a copy of the given file on the filesystem and a transformer is trying to generate one, which produces a conflict.
This asset id doesn't seem to make any sense either tho wysiwyg_e|example/packages/test/src/runner/browser/static/host.dart
, my guess would be that lies at the root of the issue?
Yeah, that is strange. Transformers shouldn't ever be running on a file in /packages/
.
it's important to me. I meet with this error with every element that I want to do port.
I noticed you have checked in a .packages
file as well as the packages
symlink in the example
folder. These should both be added to your .gitignore
, not sure if it might be affecting things or not.
I sent out https://github.com/Rasarts/wysiwyg-e/pull/1 which cleans up things to use the stubs_to_generate
and package_mappings
options. I was not seeing the reported issue though.
Thanks for pr. The error can be seen at terminal, when localhost open in Dartium.
Yes I checked there, everything is working fine for me (although i do get some runtime errors). I would recommend cloning the repo in a new folder and trying to start over? Or possibly running pub cache repair
and deleting your .pub
directory.
Yes, thanks. Now work without error.
Hi. When I try run pub serve of generated polymer element, I get error:
Yaml for custom-element-apigen:
StackOverflow Repository with generated element