Hello everyone, I'm getting this problem when deploying a function via Power Shell: EPERM: operation not permitted, scandir 'AppData\Local\Application Data'
Tried to run as admin, but it didn't work.
uhh where are you running the command? and what are you running?
In my windows power shell. This is the command:
appwrite functions createDeployment
--functionId=6012cc93d5a7b
--activate=true
--entrypoint="index.py"
--code="."
Docker is running to make the local server available for testing.
Can you execute pwd?
Btw, it's best to use 3 back ticks with multi-line code. See https://www.markdownguide.org/extended-syntax/#syntax-highlighting
I highly recommend using appwrite init function to initialize your function and appwrite deploy function to deploy
Thanks a lot for your solution. I will try it out and hope it works.
This solution worked, but how can I write the body of the function this way?
Init creates the function code. You can modify it as you'd like and then run appwrite deploy function to deploy again
Recommended threads
- 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...
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...