R
Railway

✋|help

tsc: Permission denied

Ddeniz368/31/2023
I just subscribed to the Hobby Plan and am trying to deploy my first backend.

It was working fine in vscode, I started it with npm start (script was just running ts-node app.ts). When I first tried to deploy I had the Error provided in the first picture. Then I watched some videos about production and changed the scripts to:
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"watch": "tsc -w",
"dev": "nodemon dist/app.ts",
"build": "tsc",
"start": "node dist/index.js"
}

But now I get tsc: Permission denied. How can I fix that?
Ddeniz368/31/2023
a5858b61-7c29-419d-b1d0-6a6c1b2f09f7
Bbrody1928/31/2023
perhaps you dont have node_modules in your gitignore?
Ddeniz368/31/2023
I've added it but it still fails
Should node_modules not be in the git repository at all?
Bbrody1928/31/2023
it definitely should not be
your build directory also should not be in the repo
same error?
putting something in your .gitignore wont delete it from the repo, thats something you manually have to do, it just prevents the file/folder from getting pushed in the future

Looking for more? Join the community!

Recommended Posts
Postgres MemoryIt is possible run commands like 'top' or 'pg_top'? I need check memory usage for my Postgres instanUpgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?I understand how to re-deploy my app to take advantage of the PRO infrastructure (after dragging it Railway states that my free trial is over, but I only used 2.5$My Railway deployment was paused, but I didn't use the 5$. Why is that?Sync service hostname to environment variable with VercelIs it possible to take the hostname of a given service and push it into an environment variable on aBot TelegramHi i want to ask if is possible to deploy a telegram bot in railway, because i read that mirrors/useApplication failed to respondHello, I just bought the Hobby Plan and I tried to deploy an Express app I made, the issue is the sevm.max_map_count [65530] is too low during deployementHi everyone, I currently try to deploy a SonarQube application on Railway and during deployement, I Errors Installing Cal.com TemplateHello, I am running into issues installing the cal template. Error: `ERROR: failed to solve: procIs private networking down?Hey is private networking down or something? Because currently all my builds are crashing because thHow to save a bit in MySQL database?I am trying to put data in my table in SQL, but whenever I come across bit, the table does not accepRunning Sqlite migrate with prisma in railwayHi, so im trying to use Sqlite database with prisma in railway, i got this error, any clue with thisAngular SSRI'm planning to deploy an angular app with server side rendering. Does Railway support it? At the moKilled Errorhello can somebody help me with this its not starting my projectTerrafoam thingyMy friend told me to learn terrafoarm(this sounds wrong i forgot what its called) Anyway what does iDocker Build Error``` ============== Using Nixpacks ============== context: 009fc5728ee64eb7a597ef6570e251a0 ╔making linux program available in nixpacksHi, I want to run a golang app on railway. Within this app i use the following dependency https://giIs it normal for a deployment to be initializing this long?https://cdn.fl1nt.dev/GAGE1/YAdogAtO61.png I don't think this is normal, none of my deployments takUpdating N8N Service Via Railway CLIHello, I created a Railway project and installed N8N via a Railway template. The version I am on is Ephemeral storage concernHi I want to do programmatic NPM publishes using a Railway service I will need to basically use shelredploy after pushin to github not working anymoreit stopped to redeploy my app