Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Run Deno functions fails #140

Open
2 tasks done
cristodcgomez opened this issue Sep 19, 2024 · 0 comments
Open
2 tasks done

🐛 Bug Report: Run Deno functions fails #140

cristodcgomez opened this issue Sep 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cristodcgomez
Copy link

👟 Reproduction steps

Hi, I'm not fully sure if this goes here, or if there is an error in my function parameters, but as the functions are running in my server but not with the new feature of running in local with the cli...

If I try to run locally a deno function, the docker container fails as the deno command it seems to be incorrect

👍 Expected behavior

It should run "Deno run " inside the container

👎 Actual Behavior

Is running "Deno start" which is not a valid command. I detected the error is in line 53 /lib/emulation/utils.js:

startCommand: "deno start",

As consequence, the console throws this error:

ℹ Info: Starting function using Docker ...
♥ Hint: Function automatically restarts when you edit your code.
✓ Success: Visit http://localhost:3000/ to execute your function.
Preparing for start ...
Starting ...
error: unrecognized subcommand 'start'

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

Self-hosted 1.6

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@cristodcgomez cristodcgomez added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant