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

Ability to run cloud function that uses yarn 2 plug and play mode without invoking yarn. #532

Open
ervin-pactum opened this issue May 18, 2023 · 0 comments

Comments

@ervin-pactum
Copy link

ervin-pactum commented May 18, 2023

We experience about 2x memory usage when using cloud function in yarn 2 plug and play, zero install mode.

 We recommend using a Procfile because it takes npm or yarn out of the path.

This makes me think that maybe, it should be somehow possible to alter default /bin/bash -c yarn functions-framework command into something more yarn pnp friendly, possibly by providing some form of custom procfile in the code deployed?

Alternatively - maybe there is some other issue in zero install mode? we do have workspace-tools plugin installed, and verified that yarn workspaces focus --all --production gets called during cloud function build process.

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

No branches or pull requests

3 participants