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

Doc buildpack nodejs yarn #2615

Open
Frenchix62 opened this issue May 14, 2024 · 0 comments
Open

Doc buildpack nodejs yarn #2615

Frenchix62 opened this issue May 14, 2024 · 0 comments

Comments

@Frenchix62
Copy link

Related to this doc : https://github.com/Scalingo/nodejs-buildpack

The user had a problem with an image that was too large. He investigated and this is what he discovered:

J'ai trouvé d'où ça venait : yarn berry (v4.2.1) télécharge les paquets dans les node_modules + dans le cache partagé pour les avoir offline. Or ce cache global est dans $HOME/.yarn/berry avec les paquets globaux + les indexes (~1 Go au total). J'ai ajouté dans ça dans le .slugignore.
La taille de ce cache n'est pas prise en compte en local car elle est généralement dans le $HOME alors que le projet de dev ne l'est pas

Perhaps it would be interesting to include this in the documentation?

Intercom conv : https://app.intercom.com/a/inbox/w4oogu7s/inbox/shared/all/conversation/12375700239609?view=List

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