Hi guys, I created app on Appwrite that is calling to the number and playing RickRoll. Unfortunetaly I cannot deploy the function couse I get error:
Determining projects to restore...
Restored /usr/local/src/DotNetRuntime.csproj (in 22.83 sec).
/usr/local/src/Wrapper.cs(30,24): error CS1061: 'RuntimeRequest' does not contain a definition for 'Env' and no accessible extension method 'Env' accepting a first argument of type 'RuntimeRequest' could be found (are you missing a using directive or an assembly reference?) [/usr/local/src/DotNetRuntime.csproj]
/usr/local/src/Wrapper.cs(31,23): error CS1061: 'RuntimeRequest' does not contain a definition for 'Env' and no accessible extension method 'Env' accepting a first argument of type 'RuntimeRequest' could be found (are you missing a using directive or an assembly reference?) [/usr/local/src/DotNetRuntime.csproj]
/usr/local/src/Wrapper.cs(32,31): error CS1061: 'RuntimeRequest' does not contain a definition for 'Env' and no accessible extension method 'Env' accepting a first argument of type 'RuntimeRequest' could be found (are you missing a using directive or an assembly reference?) [/usr/local/src/DotNetRuntime.csproj]
Does anybody know what is happening?
Please use 3 backticks before and after your code/logs to format it (makes it easier to read). https://www.markdownguide.org/extended-syntax/#syntax-highlighting
Did you by any chance follow this blog: https://dev.to/adityaoberai/rick-roll-your-friends-using-appwrite-twilio-and-net-4180
I think this is the app by @Aditya Oberai ?
@Kiniekop can you show the code once?
Also, please change req.Env to rwq.Variables. This was a change made to the RuntimeRequest class a while after the blog was written.
I'll be updating it after the next release.
I changed req.Env to req.Variables and it's working! Thank you for help and for the whole article 😉 That's my first app on docker and I had bunch of fun while I was making it 😄
That's awesome! 🥳
Why you rickrolled me?
😂 😂 😂 😂 😂
[SOLVED] Cannot Deploy
Recommended threads
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...