dherault / dherault/serverless-offline

Serverless Offline requires .go directory

Open
#1,591 2 comments 3 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
5.3k
Forks
811
Avg merge
2d 4h
Merged PRs (30d)
3

Description

`{
"errorMessage": "ENOENT: no such file or directory, open 'C:\\Users\\nguyen.tran\\Desktop\\Projects\\aws-demo\\.go'",
"errorType": "Error",
"stackTrace": []
}`

I got this message when trying to run ```serverless offline start```. It works when using ```serverless offline start --useDocker``` but then it is super slow on first run.

Is there any way to avoid using Docker for Go projects?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with `serverless offline start` for a Go project, then compare it with `serverless offline start --useDocker`. Trace the handling of the `.go` path and determine whether the non-Docker path can run successfully; done means Go projects no longer fail with the reported ENOENT error without Docker.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, go, javascript
Domain
api, backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.