bazel
bazel copied to clipboard
Windows file path error when running bazelify.
In Windows 10 from the command line executing pub global run bazel:bazelify
in a directory with a pubspec.yaml file produces this error:
Unsupported operation: Cannot extract a file path from a c URI dart:core _Uri.toFilePath package:bazel/src/bazelify/generate.dart 52 generate.<async> ===== asynchronous gap =========================== dart:async _Completer.completeError package:bazel/src/bazelify/generate.dart 90 generate.<async> ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:bazel/src/bazelify/generate.dart generate http://localhost:50704/bazelify.dart 26 main.<async>.<fn> package:stack_trace Chain.capture http://localhost:50704/bazelify.dart 26 main.<async> dart:async _SyncCompleter.complete package:bazel/src/bazelify/arguments.dart 142 BazelifyArguments.resolve.<async>
Assigning to low as this will probably go away in some upcoming refactoring and rewrites.
I'm seeing this issue on Windows still. Not sure if there is an update at all?
Project is an angular dart project.
Command: pub run dazel init
Build label: 0.9.0
Build target: bazel-out/x64_windows-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Dec 19 09:32:04 2017 (1513675924)
Build timestamp: 1513675924
Build timestamp as int: 1513675924
dazel: ^0.3.5
In general bazelify
and rules_dart
do not support windows at this time