18 days ago
Hello, since the issue of being unable to access the platform because Google blocked it, I haven't been able to upload updates to this application. It was in sleep mode. Could you please help me upload updates?
Attachments
51 Replies
18 days 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 Railway • 18 days ago
18 days ago
But something is causing problems; the last deployment was about three months ago, and after your problem, I can't upload updates.
Attachments
18 days ago
What are the errors occuring during the build phase? Can you share them?
darseen
What are the errors occuring during the build phase? Can you share them?
18 days ago
0x5b62656e5d
Can you provide the build logs? Not just the agent’s diagnosis?
18 days ago
Attachments
18 days ago
Try deleting the lockfile and the modules directory, run npm i, and commit the newly generated lockfile. Also, I’d recommend running npm ci instead of npm i in your Dockerfile.
0x5b62656e5d
Try deleting the lockfile and the modules directory, run `npm i`, and commit the newly generated lockfile. Also, I’d recommend running `npm ci` instead of `npm i` in your Dockerfile.
18 days ago
I have never directly manipulated Docker
18 days ago
Based on the agent's analysis, there is no package-lock.json present during the build process; this is resulting in a missing subdependency that @material-table/core relies on. So did you add package-lock.json to your .gitignore file? If yes, remove it, and push it to your repo.
Alternatively, as the agent suggested, try downloading the subdependency manually using: npm i @mui/icons-material@5.15.20
darseen
Based on the agent's analysis, there is no `package-lock.json` present during the build process; this is resulting in a missing subdependency that `@material-table/core` relies on. So did you add `package-lock.json` to your `.gitignore` file? If yes, remove it, and push it to your repo. Alternatively, as the agent suggested, try downloading the subdependency manually using: `npm i @mui/icons-material@5.15.20`
18 days ago
I didn't modify anything; the last successful deployment was three months ago without any issues. Today, after the railway problems, I uploaded another deployment as usual. But this time I'm having all these problems.
bpsystem
I didn't modify anything; the last successful deployment was three months ago without any issues. Today, after the railway problems, I uploaded another deployment as usual. But this time I'm having all these problems.
18 days ago
Based on the commit messages visible in your shared images, you did make some code changes to your repo and pushed to github. So those changes could be causing your issues. You can try the suggested solutions in this thread to fix your issue.
darseen
Based on the commit messages visible in your shared images, you did make some code changes to your repo and pushed to github. So those changes could be causing your issues. You can try the suggested solutions in this thread to fix your issue.
18 days ago
There were no code changes; a deployment was simply performed by uploading something new (a console.log file was added) to GitHub to trigger the deployment. This is unlike previous cases where redeploy attempts failed, always resulting in the same error.
bpsystem
There were no code changes; a deployment was simply performed by uploading something new (a console.log file was added) to GitHub to trigger the deployment. This is unlike previous cases where redeploy attempts failed, always resulting in the same error.
18 days ago
Delete any existing lockfile that’s present in your local environment, run npm i, and commit the changes.
bpsystem
Let's see what happens now. 
18 days ago
Attachments
bpsystem

18 days ago
bpsystem

18 days ago
I’d fix whatever is wrong with jsconfig.json.
0x5b62656e5d
I’d fix whatever is wrong with `jsconfig.json`.
18 days ago
this is how it is now: {
"compilerOptions": {
// 1. Borra la línea de baseUrl
"paths": {
// 2. Traslada la ruta relativa directamente aquí
"@components/*": ["./src/components/*"],
"@utils/*": ["./src/utils/*"]
}}
}
18 days ago
This is how it was before: {
"compilerOptions": {
"baseUrl": "."
},
"include": ["src"]}
18 days ago
{
"compilerOptions": {
"paths": {
"@components/*": ["./src/components/*"],
"@utils/*": ["./src/utils/*"]
}}
}
This is how it should be.
0x5b62656e5d
Have you tried relinking your Github account?
18 days ago
consulta solicita que fuera privado el ticket de ayuda, porque hay personas que no son de Railway?
Status changed to Open 0x5b62656e5d • 18 days ago
0x5b62656e5d
Please keep things in English.
18 days ago
The inquiry requests that the help ticket be made private, because there are people who are not from Railway?
0x5b62656e5d
Is there a lockfile present in your repository?
18 days ago
Not that I know
bpsystem
The inquiry requests that the help ticket be made private, because there are people who are not from Railway?
18 days ago
Unfortunately, so far, this isn’t a Railway issue, and there aren’t any sensitive information in the thread. A team member will not be assigned to this thread.
bpsystem
Not that I know
18 days ago
Can you run npm i locally and commit the generated lockfile?
0x5b62656e5d
Can you run `npm i` locally and commit the generated lockfile?
18 days ago
I actually upload the deployment from my code to GitHub and from there to Railway. I already tried deleting the package.look file and running npm i again.
0x5b62656e5d
Are you using Nixpacks?
18 days ago
I tried both Nix and the recommended railway.
bpsystem
I tried both Nix and the recommended railway.
18 days ago
Try using a Dockerfile. Make sure to copy both package.json and package-lock.json and run npm ci instead of npm i.
0x5b62656e5d
Try using a Dockerfile. Make sure to copy both `package.json` and `package-lock.json` and run `npm ci` instead of `npm i`.
18 days ago
My question is, if I didn't modify anything in my code and neither did GitHub, why did the application freeze like this? As I mentioned, I never use direct commands in the console. I always use deploy or reload from the dashboard.
bpsystem
My question is, if I didn't modify anything in my code and neither did GitHub, why did the application freeze like this? As I mentioned, I never use direct commands in the console. I always use deploy or reload from the dashboard.
18 days ago
Dependencies can get updated, and as a result, cause this error. A lockfile locks the version of these dependencies.
0x5b62656e5d
Dependencies can get updated, and as a result, cause this error. A lockfile locks the version of these dependencies.
18 days ago
Okay, but I don't know how to do what you're suggesting, and I don't want to change something I won't know how to undo later. Isn't there another way?
18 days ago
I’m highly recommending you to use a Dockerfile or a Railpack config file so you can control how the build process is done. You can always revert the changes in Github.
0x5b62656e5d
I’m highly recommending you to use a Dockerfile or a Railpack config file so you can control how the build process is done. You can always revert the changes in Github.
18 days ago
I understand what you're saying. But I've never directly intervened in Docker. Can you bring it out of sleeping mode?
0x5b62656e5d
You can try restarting the deployment by clicking on the 3 dots.
18 days ago
gives the same result
Attachments
18 days ago
ok
17 days ago
Issues two and three are the original problem within the package.json file. I have version 0.2.37 declared because I specifically need that version, and as you can see, the version number isn't highlighted. The same applies to @mui/material@5.15.20, which isn't in the package.json file.
Attachments
Status changed to Solved chandrika • 16 days ago
