PeterOriginal post
Web Developer
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?
Summary
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.