https://github.com/beeb/repro-go-serverless
https://github.com/beeb/repro-go-serverless
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/beeb/repro-go-serverless
- Owner: beeb
- Created: 2022-11-14T06:54:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T07:24:32.000Z (over 3 years ago)
- Last Synced: 2024-12-25T19:24:00.724Z (over 1 year ago)
- Language: JavaScript
- Homepage: repro-go-serverless.vercel.app
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To reproduce:
- Move into goapp: `cd apps/goapp`
- Setup with `pnpm run setup` or `vercel login && vercel link`
- Try to run `pnpm run start` which calls `vercel dev`
- Observe the error: `Error: repro-go-serverless/apps/goapp/apps/goapp doesn't exist`
- Try to change the run command to: `cd ../.. && vercel dev`
- Try to run `pnpm run start` which calls `vercel dev`
- Server starts on port 3000
- Try to visit [http://localhost:3000/api/hello](http://localhost:3000/api/hello)
- Observe the error: `502: BAD_GATEWAY Code: NO_RESPONSE_FROM_FUNCTION` in the browser and `2022/11/14 08:00:20 open api/hello.go: no such file or directory` in the console