a year ago
When redeloy and build. It show error messgae
copy / /app, /.vscode/settings.json /app/settings.json
333ms
ERROR: failed to build: failed to solve: lstat /.vscode/settings.json: no such file or directory
Pinned Solution
a year ago
Ok, i resolved it, beacause i have line !.vscode/settings.json in file .dockerignore. This line were copy into app, But my source not have
10 Replies
a year ago
Hey there! We've found the following might help you get unblocked faster:
- 📚 Railway MCP Server (Experimental)
- 🧵 Can't Deploy App from Shared Monorepo
- 🧵 Deployment questions
- 🧵 build failed
If you find the answer from one of these, please let us know by solving the thread!
a year ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • about 1 year ago
a year ago
Can you check if the .vscode folder exists in your Github repo? I'm assuming .vscode isnt there because it's gitignored but your project requires it for some reason
a year ago
Would putting .vscode in the .dockerignore file help?
a year ago
Are you the same person as "nhannv9" (original poster)?
To answer your question: probably not, if anything that would work completely against us since if the app is being built using Docker that would add another layer that ignores that folder but what we actually need is for that folder to not be ignored because something in the project files need it.
- Check if
.vscodeexists in your github repo - If it doesn't exist, make sure it's not listed in your
.gitignorefile
Although the fact your project needs something from .vscode is already weird to me, so alternatively you can find whatever is trying to import it and consider whether it is necassery for a production build of your application
a year ago
Ok, i resolved it, beacause i have line !.vscode/settings.json in file .dockerignore. This line were copy into app, But my source not have
a year ago
Awesome, glad you solved it! So it was the case that your GitHub repo (source) didn't have it then, if I understand you correctly? Just want to make sure I know what ended up being the solution.
dev
Are you the same person as "nhannv9" (original poster)? To answer your question: probably not, if anything that would work completely against us since if the app is being built using Docker that would add another layer that ignores that folder but what we actually need is for that folder to not be ignored because something in the project files need it. 1. Check if `.vscode` exists in your github repo 2. If it doesn't exist, make sure it's not listed in your `.gitignore` file Although the fact your project needs something from `.vscode` is already weird to me, so alternatively you can find whatever is trying to import it and consider whether it is necassery for a production build of your application
a year ago
Noo, Im not. I was looking through the questions and thought that maybe it will help
kiranchai
Noo, Im not. I was looking through the questions and thought that maybe it will help
a year ago
oooh okay, thank you for helping!!!
dev
oooh okay, thank you for helping!!!
a year ago
of course, happy to help!
Status changed to Solved noahd • about 1 year ago