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

Delete .cache useless files and .npm at install + upgrade #99

Open
ketsapiwiq opened this issue Jan 23, 2024 · 1 comment
Open

Delete .cache useless files and .npm at install + upgrade #99

ketsapiwiq opened this issue Jan 23, 2024 · 1 comment

Comments

@ketsapiwiq
Copy link
Collaborator

ketsapiwiq commented Jan 23, 2024

Asked on the ynh-app chat, should be deleted.
I just tested restarting the app without the .cache, it seems to work.
But Cypress may be used for visually testing a website, so maybe just removed the older versions and not the whole .cache!
Needs more testing.
npm cache clean empties .npm safely.

@ketsapiwiq ketsapiwiq changed the title Delete .cache at install + upgrade Delete .cache and .npm at install + upgrade Jan 23, 2024
@ketsapiwiq ketsapiwiq changed the title Delete .cache and .npm at install + upgrade Delete .cache useless files and .npm at install + upgrade Jan 23, 2024
@ketsapiwiq
Copy link
Collaborator Author

I had a dead symlink problem with node so maybe don't do the npm cache clean -f?

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