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

Cloud-function failed to start (start.sh file not found) #108

Open
sachith-1 opened this issue Mar 26, 2021 · 0 comments
Open

Cloud-function failed to start (start.sh file not found) #108

sachith-1 opened this issue Mar 26, 2021 · 0 comments

Comments

@sachith-1
Copy link

sachith-1 commented Mar 26, 2021

When I run the command npm run func start cloud function failed to start because inside the container start.sh, file not found in the scripts directory.
func-start

then I checked inside the container to see if it's really not there with the docker exec containerID ls scripts command and there are only 5 .sh files available inside the container, so some files are missing including start.sh.
insid-scripts-directory

but other files are available in the project directory. I think when building the docker image those files are not available in the scripts directory ( clocal-gcp\src\services\cloud-functions\scripts ).

To solve this issue, need to build a new image and push it to org ( I can't fix this issue because I don't have access to push it to org ).

With the image, I build it worked (sachith101/cloud-function)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant