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

Internal Error: ENOENT: no such file or directory, open '/root/.cache/node/corepack/lastKnownGood.json' #386

Closed
CWThomson opened this issue Feb 20, 2024 · 1 comment

Comments

@CWThomson
Copy link

Corepack Version 0.25.1
OS: Amazon Linux 2023/6.1.0 (Elastic Beanstalk) - Node 18

When we run
corepack yarn
we receive the error:
Internal Error: ENOENT: no such file or directory, open '/root/.cache/node/corepack/lastKnownGood.json'

This only started happening this morning and seems to correspond with the release of 0.25.1. It only impacts our servers when an instance is terminated and it enables corepack from scratch.

Perhaps this is an incompatibility with AWS and the latest version of Corepack?

@merceyz
Copy link
Member

merceyz commented Feb 20, 2024

Duplicate of #379

@merceyz merceyz marked this as a duplicate of #379 Feb 20, 2024
@merceyz merceyz closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2024
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