Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Bug]: docker compose version is not running saying Your cache folder contains root-owned files, due to a bug in #2150

Closed
1 task done
dims12 opened this issue Mar 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dims12
Copy link

dims12 commented Mar 20, 2024

What happened?

The following error is displayed by docker compose:

LibreChat |
LibreChat | > [email protected] backend
LibreChat | > cross-env NODE_ENV=production node api/server/index.js
LibreChat |
LibreChat | npm ERR! code EACCES
LibreChat | npm ERR! syscall mkdir
LibreChat | npm ERR! path /.npm
LibreChat | npm ERR! errno -13
LibreChat | npm ERR!
LibreChat | npm ERR! Your cache folder contains root-owned files, due to a bug in
LibreChat | npm ERR! previous versions of npm which has since been addressed.
LibreChat | npm ERR!
LibreChat | npm ERR! To permanently fix this problem, please run:
LibreChat | npm ERR! sudo chown -R 1001:1002 "/.npm"
LibreChat |
LibreChat | npm ERR! Log files were not written due to an error writing to the directory: /.npm/_logs
LibreChat | npm ERR! You can rerun the command with --loglevel=verbose to see the logs in your terminal

Steps to Reproduce

Just follow the instructions from Docker Compose Installation Guide page

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dims12 dims12 added the bug Something isn't working label Mar 20, 2024
Repository owner locked and limited conversation to collaborators Mar 21, 2024
@danny-avila danny-avila converted this issue into discussion #2151 Mar 21, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant