Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First build attempt fails with open _ftl/[...]: no such file or directory #1555

Closed
safeer opened this issue May 22, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@safeer
Copy link
Contributor

safeer commented May 22, 2024

info:foo: Building module
ftl: error: failed to build module "bar": failed to extract module schema: err: exit status 1: stderr: go: cannot load module _ftl/go/modules listed in go.work file: open _ftl/go/modules/go.mod: no such file or directory
@safeer safeer added the bug Something isn't working label May 22, 2024
@github-actions github-actions bot added the triage Issue needs triaging label May 22, 2024
@ftl-robot ftl-robot mentioned this issue May 22, 2024
@alecthomas
Copy link
Collaborator

This is probably caused by #1500, it's the only thing that I think has touched the build system recently.

@github-actions github-actions bot removed the triage Issue needs triaging label May 23, 2024
@safeer safeer changed the title First test run fails with open _ftl/[...]: no such file or directory First build attempt fails with open _ftl/[...]: no such file or directory May 24, 2024
@safeer
Copy link
Contributor Author

safeer commented May 24, 2024

I've so far been unable to repro this issue

info: FTL startup command ⚡️
warn:time: Clearing deploy directory: /Users/safeer/dev/ftl/examples/go/time/_ftl
info:time: Building module
warn:time: Copying scaffold files to /Users/safeer/dev/ftl/examples/go/time
warn:time: Found file at path /Users/safeer/dev/ftl/examples/go/time/_ftl/go/modules/go.mod
warn:time: Running go mod tidy in /Users/safeer/dev/ftl/examples/go/time
info:time: Deploying module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants