Rank 2: Process
I do get this though: Docker Error: Unable to find image 'openruntimes/dart:v2-3.0' locally
docker: Error response from daemon: manifest for openruntimes/dart:v2-3.0 not found:
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
I do get this though: Docker Error: Unable to find image 'openruntimes/dart:v2-3.0' locally
docker: Error response from daemon: manifest for openruntimes/dart:v2-3.0 not found:
Rank 2: Process
from what I'm seeing the actual image is openruntimes/dart:v3-3.0,
Rank 2: Process
I'm guessing I need to recreate this function rather than just changing the runtime to 3.0.
In older versions (Appwrite 1.3.8) it happens exactly the same, only 2.17 works
Rank 2: Process
you're saying dart 3.0 doesn't work?
Seems it's not updated, so maybe due to that 3.0 is not loading until the next Appwrite version 🤔
Rank 2: Process
2.17 doesn't work with the lastest dart sdk though
Rank 2: Process
hmm I will have to recheck. but I saw an issue with it requiring something that was 2.19 or greater requirement
Yes, there are some sight changes, so maybe you cannot use the latest features, but most things will work
Some pub dev libraries maybe cannot support older versions on their latest version, so you will probably need to use an older version instead of the latest one
Rank 2: Process
well. it's sort of an all or nothing thing. but potentially not using the 11x version of the dart and maybe locking to 9 or something
Rank 2: Process
though I deleted the function to try and recreate, and there's some changes there too. no longer can you just create a function without including the gzipped file. and trying to use the cli init function throws an error
Rank 2: Process
likely because of the 3.0 runtime
What's your Appwrite version?
Also, are you sure you have latest cli version? There was an error on a regen version that in some cases it threw an error when trying to deploy functions in some cases
Rank 2: Process
actually nm. even though it errored, it still added it
Rank 2: Process
1.4.2
Is this a fresh appwrite install or you migrated from a previous version?
Rank 2: Process
migrated
Did you run migration command after upgrading to 1.4.2?
Rank 2: Process
yea
Is this a new function?
Yes, I suggest creating a new function to use the new version and the new function syntax
Rank 2: Process
yes. I think I have it working now. at least I was able to get it to build and shows as ready. thank you.
[SOLVED] Enabling Dart 3.0 runtime