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

NPM read-only cache and log dir #316

Open
oloboy opened this issue Nov 11, 2023 · 6 comments
Open

NPM read-only cache and log dir #316

oloboy opened this issue Nov 11, 2023 · 6 comments

Comments

@oloboy
Copy link

oloboy commented Nov 11, 2023

I have this error message during the installation but the authorizations are corrects

npm ERR! code EROFS
whatsapp-chatgpt | npm ERR! syscall open
whatsapp-chatgpt | npm ERR! path /root/.npm/_cacache/tmp/79e61f0d
whatsapp-chatgpt | npm ERR! errno -30
whatsapp-chatgpt | npm ERR! rofs EROFS: read-only file system, open '/root/.npm/_cacache/tmp/79e61f0d'
whatsapp-chatgpt | npm ERR! rofs Often virtualized file systems, or other file systems
whatsapp-chatgpt | npm ERR! rofs that don't support symlinks, give this error.
whatsapp-chatgpt |
whatsapp-chatgpt | npm ERR! Log files were not written due to an error writing to the directory: /root/.npm/_logs
whatsapp-chatgpt | npm ERR! You can rerun the command with --loglevel=verbose to see the logs in your terminal

image

@oloboy
Copy link
Author

oloboy commented Nov 14, 2023

How it is possible??? the first of the docker advantage is "Docker is popular because it offers portability, consistency, and scalability for deploying applications in different environments" BULLSHIT

@CodingJunmin
Copy link

I have the same issue. @oloboy did you solve this issue?

@robertsmaoui
Copy link

same issue in windows !

@oloboy
Copy link
Author

oloboy commented Jan 31, 2024

same issue in windows !
me too have windows as OS
STOP to put garbage on githut and test your code before the upload

@oloboy
Copy link
Author

oloboy commented Jan 31, 2024

try this #329

@robertsmaoui
Copy link

resolved whitout docker : Installation
Clone this repository
Install the required packages by running npm install
Put your OpenAI API key into the .env file
Example file: .env-example
You can obtain an API key here
Run the bot using npm run start
Scan the QR code with WhatsApp (link a device)

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

3 participants