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

NX 17.0.0 not finding the workspace libraries #163

Closed
pikilon opened this issue Oct 22, 2023 · 2 comments
Closed

NX 17.0.0 not finding the workspace libraries #163

pikilon opened this issue Oct 22, 2023 · 2 comments

Comments

@pikilon
Copy link

pikilon commented Oct 22, 2023

Steps to reproduce

  • didn't change anything in the codebase from before
  • firebase app is called firebase
  • functions app is called cloud-functions
  • run npx nx deploy firebase

Current behavior

Console output

Could not create or update Cloud Run service searchevents, Container Healthcheck failed. Revision 'searchevents-00001-bay' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
Logs URL: https://console.cloud.google.com/logs/viewer?project=my-project-core&resource=cloud_run_revision/service_name/searchevents/revision_name/searchevents-00001-bay&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22searchevents%22%0Aresource.labels.revision_name%3D%22searchevents-00001-bay%22 
For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

Could not create or update Cloud Run service onmessagecreated, Container Healthcheck failed. Revision 'onmessagecreated-00001-yoh' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
Logs URL: https://console.cloud.google.com/logs/viewer?project=my-project-core&resource=cloud_run_revision/service_name/onmessagecreated/revision_name/onmessagecreated-00001-yoh&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22onmessagecreated%22%0Aresource.labels.revision_name%3D%22onmessagecreated-00001-yoh%22 
For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

Could not create or update Cloud Run service onparticipationwritten, Container Healthcheck failed. Revision 'onparticipationwritten-00001-juv' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
Logs URL: https://console.cloud.google.com/logs/viewer?project=my-project-core&resource=cloud_run_revision/service_name/onparticipationwritten/revision_name/onparticipationwritten-00001-juv&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22onparticipationwritten%22%0Aresource.labels.revision_name%3D%22onparticipationwritten-00001-juv%22 
For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

Could not create or update Cloud Run service oneventwritten, Container Healthcheck failed. Revision 'oneventwritten-00001-mez' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
Logs URL: https://console.cloud.google.com/logs/viewer?project=my-project-core&resource=cloud_run_revision/service_name/oneventwritten/revision_name/oneventwritten-00001-mez&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22oneventwritten%22%0Aresource.labels.revision_name%3D%22oneventwritten-00001-mez%22 
For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

Could not create or update Cloud Run service onuserwritten, Container Healthcheck failed. Revision 'onuserwritten-00001-gih' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
Logs URL: https://console.cloud.google.com/logs/viewer?project=my-project-core&resource=cloud_run_revision/service_name/onuserwritten/revision_name/onuserwritten-00001-gih&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22onuserwritten%22%0Aresource.labels.revision_name%3D%22onuserwritten-00001-gih%22 
For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

Functions deploy had errors with the following functions:
        cloud-functions:onEventWritten(us-central1)
        cloud-functions:onMessageCreated(us-central1)
        cloud-functions:onParticipationWritten(us-central1)
        cloud-functions:onUserWritten(us-central1)
        cloud-functions:searchEvents(us-central1)
i  functions: cleaning up build files...

Firebase functions web console

image

Google cloud log explorer for onParticipationWritten

image

It seems to me that is not finding the libraries on deploy

@simondotm
Copy link
Owner

simondotm commented Oct 22, 2023

This might be related to another issue we're seeing with Nx 17
Please could you try the suggestion in this post here: #161 (comment)

@pikilon
Copy link
Author

pikilon commented Oct 22, 2023

This might be related to another issue we're seeing with Nx 17 Please could try the suggestion in this post here: #161 (comment)

Yes, this did the trick for me, thank you again Simon.

@pikilon pikilon closed this as completed Oct 22, 2023
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

2 participants