16 hours 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
53 Replies
16 hours 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 • about 16 hours ago
16 hours ago
But something is causing problems; the last deployment was about three months ago, and after your problem, I can't upload updates.
Attachments
16 hours 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?
15 hours ago
0x5b62656e5d
Can you provide the build logs? Not just the agent’s diagnosis?
15 hours ago
Attachments
15 hours 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.
15 hours ago
I have never directly manipulated Docker
15 hours 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`
15 hours 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.
15 hours 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.
15 hours 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.
15 hours 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. 
15 hours ago
Attachments
bpsystem

15 hours ago
bpsystem

15 hours ago
I’d fix whatever is wrong with jsconfig.json.
0x5b62656e5d
I’d fix whatever is wrong with `jsconfig.json`.
15 hours 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/*"]
}}
}
15 hours ago
This is how it was before: {
"compilerOptions": {
"baseUrl": "."
},
"include": ["src"]}
14 hours ago
{
"compilerOptions": {
"paths": {
"@components/*": ["./src/components/*"],
"@utils/*": ["./src/utils/*"]
}}
}
This is how it should be.
0x5b62656e5d
Have you tried relinking your Github account?
7 hours ago
consulta solicita que fuera privado el ticket de ayuda, porque hay personas que no son de Railway?
Status changed to Open 0x5b62656e5d • about 5 hours ago
0x5b62656e5d
Please keep things in English.
5 hours 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?
5 hours 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?
5 hours 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
5 hours ago
Can you run npm i locally and commit the generated lockfile?
0x5b62656e5d
Can you run `npm i` locally and commit the generated lockfile?
5 hours 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?
5 hours ago
I tried both Nix and the recommended railway.
bpsystem
I tried both Nix and the recommended railway.
5 hours 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`.
5 hours 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.
5 hours 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.
5 hours 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?
5 hours 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.
5 hours 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.
5 hours ago
gives the same result
Attachments
5 hours ago
ok
3 hours ago
Hi,
From the screenshots, this does not look like a Railway platform issue. The build is failing inside your app, there are two clear issues:
- Your
jsconfig.jsonis invalid:
SyntaxError: /app/jsconfig.json: Unexpected token / in JSON at position 29This usually means there is a comment like // ... inside the JSON file. JSON files cannot contain comments, so please remove any comments or invalid characters from jsconfig.json.
- The build also suggests missing/pinned Material UI dependencies:
Add "@mui/icons-material" and "@mui/material" pinned to version 5.15.20Please run locally:
npm install @mui/material@5.15.20 @mui/icons-material@5.15.20Then commit both package.json and package-lock.json, and redeploy.
The important part is to commit the package-lock.json so Railway installs the same dependency versions every time. Without a lockfile, a new deploy can suddenly fail even if you did not change your code.
3 hours 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
bpsystem
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. 
34 minutes ago
I think there is a small misunderstanding here.
You do not need to change @material-table/core@0.2.37 if your app specifically needs that version.
The issue is that @material-table/core@0.2.37 is trying to import MUI v5 packages, for example:
@mui/icons-material/DeleteOutlineBut from your screenshot, your package.json has:
"@material-ui/core": "^4.12.4"That is Material UI v4.
It does not include the newer MUI v5 packages:
"@mui/material": "5.15.20",
"@mui/icons-material": "5.15.20"So the fix is not to remove @material-table/core@0.2.37. The fix is to add the missing direct dependencies:
npm install @mui/material@5.15.20 @mui/icons-material@5.15.20Then commit both package.json and package-lock.json, and redeploy.
Also, the build log still shows a separate issue with jsconfig.json:
SyntaxError: /app/jsconfig.json: Unexpected token / in JSONSo please also remove any comments or invalid characters from jsconfig.json, because JSON files cannot contain comments.
