Error deploying Node.js TypeScript starter
I'm new here 😉
When I try the template "Node.js TypeScript starter", I get this error:
ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm i --frozen-lockfile" did not complete successfully: exit code: 1
I wanted to deploy this to start building a set of API calls build with Typescript.Solution:Jump to solution
I'm new here 😉
When I try the template "Node.js TypeScript starter", I get this error:
ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm i --frozen-lockfile" did not complete successfully: exit code: 1
I wanted to deploy this to start building a set of API calls build with Typescript....14 Replies
Project ID:
6a331d2e-7ef4-4d37-9073-5efc552b8869
please provide full build logs please
the solution directly copied from the logs you provided me:
Thanks Brody. I'm new to this so.. where should I run this command?
in a terminal open to your local project folder
Hmm, I thought all this lived in the cloud? Did not realize that these projects are saved on my local disk? Where can I find out where exactly this project is saved on my local disk?
they are saved in the "cloud" to fix the project you will need to clone the repo to a local folder and run the given command
by the way, this is not your fault, this is the template creators fault
So, is the template "Node.js TypeScript starter" broken on Railway?
yes, but that template is not maintained by railway
Ok, thanks! Any other template I can use/start to start developing my own API's with TypeScript?
I started with railwayapp-templates/fastapi, works fine, but its in Python. I wanted to do the same, but with Typescript
well then "Node.js TypeScript starter" is not what you want either, it only prints a console log
https://github.com/dayblox/node-ts/blob/main/src/index.ts#L1
this may be what you are after
https://railway.app/template/n_2mnn
Thanks! This one deploys just fine! 👍
perfect, i will see about getting in contact with the maintainer of the broken template, or simply getting it removed