Closed mahdi-eth closed 1 week ago
Hello my friend, I first forked your repo, then I went to vercel and selected the project, added the github token env variable, and did anything on your deploy guide. But I get this error when trying to deploy it.
Detected source files:
- .runtime.ts
- deps.ts
- index.ts
- src/card.ts
- src/error_page.ts
- src/github_api_client.ts
- src/icons.ts
- src/theme.ts
- src/trophy.ts
- src/trophy_list.ts
- src/user_info.ts
- src/utils.ts
Build Completed in /vercel/output [7s]
Deploying outputs...
Error: The following Serverless Functions contain an invalid "runtime":
- index.ts (provided.al2). Learn More: https://vercel.com/guides/serverless-function-contains-invalid-runtime-error
I would be very glad if you could help resolve this issue my friend. @lucthienphong1120
I fixed this using the link it provides you. In your project settings you need to change the Node.js version to v18 This shows you how to do it
Thank you my friend for your time. It worked.
Hello, for Local Deploy you can check this
Or you can use my deploy by Vercel for free