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

/tmp/deno_cache does not exist in deno info. #26181

Closed
haturatu opened this issue Oct 12, 2024 · 0 comments · Fixed by #26205
Closed

/tmp/deno_cache does not exist in deno info. #26181

haturatu opened this issue Oct 12, 2024 · 0 comments · Fixed by #26205
Labels
bug Something isn't working correctly cli related to cli/ dir

Comments

@haturatu
Copy link
Contributor

Hello, team.

I encountered this error:

Deno: error: Uncaught (in promise) Error: attempt to write a readonly database: Error code 8: Attempt to write a readonly database

However, deleting the ~/.cache/deno directory did not solve the issue.

I confirmed that the /tmp/deno_cache directory was also being created, and deleting that resolved the problem. It seems that this /tmp/deno_cache is not displayed in the output of deno info.

Here’s the output from running deno info:

DENO_DIR location: /home/haturatu/.cache/deno
Remote modules cache: /home/haturatu/.cache/deno/deps
npm modules cache: /home/haturatu/.cache/deno/npm
Emitted modules cache: /home/haturatu/.cache/deno/gen
Language server registries cache: /home/haturatu/.cache/deno/registries
Origin storage: /home/haturatu/.cache/deno/location_data

It appears that this cache is generated by ext/cache, but since it originates from extensions, is it not considered part of the standard functionality?

@lucacasonato lucacasonato added bug Something isn't working correctly cli related to cli/ dir labels Oct 21, 2024
bartlomieju added a commit that referenced this issue Nov 20, 2024
Closes #26181 

---------

Co-authored-by: Bartek Iwańczuk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly cli related to cli/ dir
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants