Cannot find generated *.realm.dart
files after dart run realm generate
#1823
Labels
*.realm.dart
files after dart run realm generate
#1823
What happened?
The script succeeds after
dart run realm generate
:It seems the result has been cached because it has succeeded before, but I could never find the needed file (after any ever generations).
No file at the same directory with the source file, no file at other related directories, and even no file can be searched with Everything.
Repro steps
At
pubspec.yaml
:No
build.yaml
file found.Run the
generate
at the root path (of the project) showssucceeded
with actually no file generated. The script rejects to work at the same directory with the sources needed to be dealed with (with the errorError parsing package pubspec at Directory: '.'. Error PathNotFoundException: Cannot open file, path = 'pubspec.yaml'
).Confirms there is nothing wrong with permissions to write with the command
touch element.realm.dart
anddel element.realm.dart
.Confirms that the files are really not created with Explorer.
There is no error with
dart run build_runner build --delete-conflicting-outputs
:Now there is no
*.realm.dart
. My conclusion is it's VERY WEIRD.Version
Flutter 3.24.1 • channel stable • Dart 3.5.1 • DevTools 2.37.2
What Atlas Services are you using?
Local Database only
What type of application is this?
Flutter Application
Client OS and version
Windows 11 23H2 22631.4751
Code snippets
Stacktrace of the exception/crash you're getting
Relevant log output
The text was updated successfully, but these errors were encountered: