Back
[SOLVED] Dart function build fails with missing /tmp/OYPGXV/kernel.dill file on 1.4.1
- 0
- Functions
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 wasself 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
TypeScript
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
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?