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

Log:
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)

self hosted 1.4.1 DO

clean install? what function did you deploy?

updated from 1.3.8 to 1.4.0 and then to 1.4.1

update for 1.4.2 now it happens almost every time

Compiling ...
Error: AOT compilation failed
Generating AOT kernel dill failed!

but with different error

'manual' deployment

docker compose up -d solves the problem

[SOLVED] Dart function build fails with missing /tmp/OYPGXV/kernel.dill file on 1.4.1
Recommended threads
- API preflight request not working on .f...
When I am calling a function on my APP through the domain is failing. Because the preflight request (OPTIONS HTTP request) times out. this only occurs with fu...
- No Headers
Hi I have 2 appwrite functions, one is working fine on localhost, second is not even working on prod with https, i inspected the api call, no headers are being ...
- Cloud Function Deployment crashing
My golang cloud function crashes on deployment and its a bit non-descript. Here is the error message. It says "Document already exists". This is a general probl...
