Closed technolion closed 3 years ago
This might also be a build_runner bug. I used build_runner: 2.0.5. If so, please direct me where to move the issue to.
I'm sure how you believe that the packages in this repository would control how a completely separate package constructs and encodes string representation of paths. If you have evidence that this is somehow caused by a package here, please point me to the details of how and I can re-open the issue.
This might also be a build_runner bug. I used build_runner: 2.0.5. If so, please direct me where to move the issue to.
I don't know anything about how packages I don't maintain manage their issues. I would assume there's an issue link on the package page, as with any other package.
Well, here's how to reproduce it (on Windows):
flutter create build_runner_test
cd .\build_runner_test\
Add the following to pubspec.yaml
in the dependencies
section
menubar:
git:
url: https://github.com/google/flutter-desktop-embedding.git
path: plugins/menubar
flutter pub get
flutter packages pub run build_runner build
But thinking about it, it's probably caused by the path
parameter in the git
dependency. It should be possible though:
https://dart.dev/tools/pub/dependencies
Adding a plugin from flutter desktop embedding like this is also recommended by you here: https://github.com/google/flutter-desktop-embedding/blob/master/plugins/README.md
Well, here's how to reproduce it
I didn't say that I don't believe the issue is reproducible; I asked for evidence that the issue is caused by the packages here. For instance, if you can demonstrate that doing the exact same thing with a different git repository has a different outcome, please include that.
Adding a plugin from flutter desktop embedding like this is also recommended by you here: https://github.com/google/flutter-desktop-embedding/blob/master/plugins/README.md
Yes, I'm aware that I provide an example of how to apply pub's git dependency syntax to the unpublished packages in this repository. I'm not sure what the relevance is; are you saying that those instructions are incorrect? Again, if so, please provide details.
I no longer think, that the issue is caused by this package and you rightfully closed this one here.
Yes, I'm aware that I provide an example of how to apply pub's git dependency syntax to the unpublished packages in this repository. I'm not sure what the relevance is; are you saying that those instructions are incorrect?
No, I am not.
Still I can image that many flutter desktop devs that use flutter-desktop-embedding might have this problem, so I would have loved to get some advice from a senior dev like you where to report the issue, because many aspects of the dart/flutter eco system are still unclear to me.
I tried my luck here.
I wonder if this problem is like https://github.com/dart-lang/pub/issues/1756
Describe the bug Starting with flutter 2.3.0 the following error appeared when using the
build_runner
on Windows and having referenced a plugin fromflutter-desktop-embedding
:I checked the local file system, and the problem seems to be, that on Windows the path separator is a backslash. But somehow
build_runner
cannot deal with the encoded backslash%5C
.Doctor Output Please provide the output of
flutter doctor -v
: