conduit-dart / conduit

Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
https://theconduit.dev
BSD 2-Clause "Simplified" License
450 stars 43 forks source link

Error when build aot snapshot #196

Open zaidite opened 1 year ago

zaidite commented 1 year ago

Aot file building without error, but in the finish i get an error:

aot_builder | Success. Executable is located at 'file:///app/test/test.aot'. aot_builder | Unhandled exception: aot_builder | FileSystemException: Deletion failed, path = '/tmp/build' (OS Error: Device or resource busy, errno = 16) aot_builder | #0 _Directory._deleteSync (dart:io/directory_impl.dart:193:7) aot_builder | #1 FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:424:7) aot_builder | #2 CLIBuild.cleanup (package:conduit/src/commands/build.dart:89:22) aot_builder | #3 CLICommand.process (package:conduit/src/command.dart:248:13) aot_builder | aot_builder | #4 main (file:///root/.pub-cache/hosted/pub.dev/conduit-4.3.6/bin/conduit.dart:9:14) aot_builder | aot_builder exited with code 255

and folder which unclude in build becomes empty.

dart=2.19.2 conduit 4.3.6 mac os catalina 10.15.7