Back

[SOLVED] Dart function build fails with missing /tmp/OYPGXV/kernel.dill file on 1.4.1

  • 0
  • Functions
obiwanzenobi
5 Sep, 2023, 22:47

Log:

TypeScript
Changed 31 dependencies!
Compiling ...
Info: Compiling with sound null safety.
Unhandled exception:
PathNotFoundException: Cannot open file, path = '/tmp/OYPGXV/kernel.dill' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:55:9)
#1      _File.open.<anonymous closure> (dart:io/file_impl.dart:381:7)
<asynchronous suspension>
Error: AOT compilation failed
PathNotFoundException: Deletion failed, path = '/tmp/OYPGXV' (OS Error: No such file or directory, errno = 2)
TL;DR
The user was facing an issue where the Dart function build failed due to a missing /tmp/OYPGXV/kernel.dill file. They mentioned that running "docker compose up -d" solved the problem. However, when they tried manual deployment, they encountered a different error related to AOT compilation. They updated Dart to version 1.4.2 and the issue occurred more frequently. The user had previously updated from version 1.3.8 to 1.4.0 and then to 1.4.1. It was suggested to do a clean install and clarify which function was being deployed. The user was
obiwanzenobi
5 Sep, 2023, 22:47

self hosted 1.4.1 DO

Drake
5 Sep, 2023, 23:17

clean install? what function did you deploy?

obiwanzenobi
9 Sep, 2023, 10:35

updated from 1.3.8 to 1.4.0 and then to 1.4.1

obiwanzenobi
9 Sep, 2023, 10:36

update for 1.4.2 now it happens almost every time

obiwanzenobi
9 Sep, 2023, 10:36
TypeScript
Compiling ...
Error: AOT compilation failed
Generating AOT kernel dill failed!
obiwanzenobi
9 Sep, 2023, 10:36

but with different error

obiwanzenobi
9 Sep, 2023, 10:36

'manual' deployment

obiwanzenobi
9 Sep, 2023, 10:51

docker compose up -d solves the problem

Drake
9 Sep, 2023, 15:22

[SOLVED] Dart function build fails with missing /tmp/OYPGXV/kernel.dill file on 1.4.1

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more