Closed nathanielgreen closed 1 year ago
Hi! Thanks for opening your first issue here! :smile:
Hmm looks like a bug. Feel free to PR (especially given the codebase is very tiny ;))!
Sure thing can do, any pointers on where to start?
Maybe first step is clone the code and run it normally - like running any dart package. Then add logging or debugging to see what's going wrong
The (brief) intro to implementation https://github.com/fzyzcjy/dart_interactive#implementation may also be helpful
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug Interactive doesn't seem to be able to find
auto_generated.dart
when specifying a directory. It generates one in the local lib at./lib/auto_generated.dart
so either it's searching in the wrong place or addingauto_generated.dart
to the wrong directory.To Reproduce
flutter pub cache clean
flutter pub global activate interactive
dart create -t package test_package
cd test_package/
interactive --directory ./
Expected behavior For
interactive
to correctly run, generating theauto_generated.dart
to the correct directory instead of erroring out.Logs
Desktop (please complete the following information):
Additional context This happens even when activating interactive with
dart pub global activate interactive
too.