Closed realth000 closed 1 month ago
Seems only reproduce on Windows.
I tried on Linux but worked well.
Maybe the path is too long so it cannot be read by Dart on Windows.
There are some directories that are ignored during scan. Maybe there is a characteristic folder name that can be ignored? According to your logs cargokit_build
might be specific enough that we can safely ignore.
Yes I also think so. It should be ignored during scan.
Fixed in 3.31.2
Describe the bug
dart run slang
fails to run when:super_native_extensions
and already has Windows debug build cache.Similar to #142 but end up with different error
The system cannot find the path specified. (os error 3)
.To Reproduce Steps to reproduce the behavior:
Use the repo here:
cd packages/my_package/example
flutter build Windows --debug
cd ../../../
dart run slang
.Or complete steps to prepare a demo:
flutter create -t my_project_outside
.flutter pub add slang slang_flutter dev:build_runner dev:slang_build_runner
packages
for inner used packages. In thepackages
folder, create a package calledmy_package
:flutter create -t package my_package
.my_package
, create an example app for it:flutter create -t app example
.example
app, add package:flutter pub add super_native_extensions
.DEBUG
build:flutter build windows --debug
.dart run slang
.Expected behavior Command finished without error.
Additional context Command finished with error:
dart run build_runner build
works well, only cli fails.