-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Error: ENOENT: no such file or directory, stat '/client/dist/index.html' #146
Comments
did you pull the latest update from main? This was an issue and it was fixed. |
Just ran |
Hi danny, I have give it the folder enough privilege by the way. |
Can you copy paste your dockerfile in the root folder here? |
|
I think I may know the issue before trying a fix. |
I am using a debain operating system, and i had try to use "docker-compose down" and "docker-compose rm" command delete the container, before using "docker-compose up" comand to create and start the container. |
maybe it has the images cached because the only thing that makes sense to me is to delete the image as well before doing compose up after an update to the project |
Here is the folder of clients:
But i think i found the reason of this issue: Nodejs build failure in my system.
So maybe my server's memory is too low, it's only has 1G memory. |
Oh I meant .client/ not .api/clients but yes looks like it definitely is the build error |
Oh, the .client/ folder like this, has no dist folder in it. so same conclusion~
|
Let me know if you got this working with more memory |
Hello sir,
When i pull new version and run with docker cmd "docker-compose up", and browse the url,
it says "Not Found" in the page, and the console shows:
"chatgpt-clone-api-1 | Error: ENOENT: no such file or directory, stat '/client/dist/index.html'"
Any advice about it?
The text was updated successfully, but these errors were encountered: