Back

Runtimes Container can't find .js file to start

  • 0
  • Self Hosted
Peter
15 Apr, 2024, 09:14

Hi all!

I'm having some troubles getting a Function to start on my localhost environment. While spinning up a container works, within the runtimes container I get the following error (within Appwrite environment I just get a 500 error back):

helpers/start.sh: /usr/local/server/src/function/.open-runtimes: line 1: main.js: not found

Any tips on how to further investigate?

TL;DR
Developers are experiencing an issue with the runtimes container not being able to find the .js file to start the Function. The error message "main.js: not found" is displayed. This could be due to a file path issue. To investigate, developers can check the file path in the start.sh script and ensure it correctly points to the main.js file location.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more