Closed f closed 3 years ago
I have no idea why (ubuntu-latest, dev)
has not passed. I think it's not related to this PR.
/cc @mit-mit any idea why a test would be failing on Linux with Dev and Stable channels, but succeeding on beta?
/cc @mit-mit any idea why a test would be failing on Linux with Dev and Stable channels, but succeeding on beta?
We just discovered that we didn't get the beta channel rolled to 2.12.0 stable yet when we launched to stable. That will happen shortly. Then I suspect beta will start to show the same issue as stable and dev:
The CI issue seems to stem from an incompatibility in angular_components with 2.12.0 stable; I'm following on a resolution to that. cc @kevmoo
The current Dart SDK version is 2.12.0.
Because angular_components >=0.13.0 depends on observable ^0.22.2 which depends on dart_internal ^0.1.1, angular_components >=0.13.0 requires dart_internal ^0.1.1.
So, because dart_internal ^0.1.1 requires SDK version >=2.0.0-dev.12.0 <2.12.0 and __projectName__ depends on angular_components ^1.0.2, version solving failed.
Error: Process completed with exit code 1.
Merging as I believe the CI issue has been needed (and I actually need this change in a different PR).
TL;DR:
project name on
dart create <project-name>
must be normalized otherwise it fails whilepub get
.Steps:
Try to install dart project using
dart create
CLI helper.Expected:
It should be normalized to
some_project
but it keeps as input and throws whilepub get
.Actual:
Throws
The issue:
Normalization is not done on neither
commands/create.dart
nor here. It should be done here anyway. (ref: https://github.com/dart-lang/sdk/blob/master/pkg/dartdev/lib/src/commands/create.dart#L95-L98)