-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cant build from a go workspace #970
Comments
Hi @gedw99 thanks for the report however I'm unable to reproduce this. I get the flowpipe (faa04419) $ make build
cd ui/form && corepack enable && yarn install && yarn build
➤ YN0088: A new stable version of Yarn is available: 4.5.3!
➤ YN0088: Upgrade now by running yarn set version 4.5.3
➤ YN0000: · Yarn 4.5.0
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Post-resolution validation
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 3 packages were added to the project (+ 4.51 MiB).
➤ YN0000: └ Completed in 0s 462ms
➤ YN0000: ┌ Link step
➤ YN0007: │ esbuild@npm:0.21.5 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 4s 466ms
➤ YN0000: · Done with warnings in 5s 39ms
vite v5.4.6 building for production...
✓ 305 modules transformed.
dist/index.html 0.92 kB │ gzip: 0.38 kB
dist/assets/index-DWk11KcD.css 11.35 kB │ gzip: 2.92 kB
dist/assets/index-9Z-GHPyy.js 392.95 kB │ gzip: 134.23 kB
✓ built in 1.23s
go build .
flowpipe (faa04419) $ The error message that you get: Can you please run Thanks |
Thanks Did you do it inside a golang workspace with go work ? I deliberately put that in the reproduction .. |
I see, yes apology I missed the go workspace bit. Confirmed that I can reproduce the error, the exact same error message. There must be something in Go workspace and the build order that is causing this issue. I'll have a look. |
I think this is because Steampipe has this replace (
github.com/c-bata/go-prompt => github.com/turbot/go-prompt v0.2.6-steampipe.0.0.20221028122246-eb118ec58d50
github.com/docker/distribution => github.com/distribution/distribution v2.7.1+incompatible
github.com/docker/docker => github.com/moby/moby v20.10.17+incompatible
<snip> https://github.com/turbot/steampipe/blob/v1.0.1/go.mod#L8 It's replacing Hopefully @kaidaguerre can weigh in here. |
ah I think thats where the issue is. its why I use go.work. It forces isolation. If you can let me know I would appreciate it. |
Hmm I'll have to have a dig to understand if that was a required change and if so, why. Let me get back to you |
@gedw99 I took a look at the replaces that we have, and it seems like we require the |
Describe the bug
Cant build Flowpipe from a go workspace. The others build fine.
Flowpipe version (
flowpipe -v
)v1.0.2
Use this as a full reproduction...
To reproduce
All above...
Expected behavior
flow pipe builds. powerpipe and steam pipe builds fine.
Additional context
Mac m2.
I checked and the brew install version is the same version of the tag I am using.
The text was updated successfully, but these errors were encountered: