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

Remote imports do not work for vendored depedencies #637

Open
nydrani opened this issue Sep 8, 2020 · 0 comments
Open

Remote imports do not work for vendored depedencies #637

nydrani opened this issue Sep 8, 2020 · 0 comments

Comments

@nydrani
Copy link
Contributor

nydrani commented Sep 8, 2020

Please do not post any internal, closed source snippets on this public issue tracker!

Description

INFO[0005] failed to import https://github.com/anz-bank/sysl-go/codegen/arrai/service.arrai - failed to list modules: go command failed: go list -m: can't compute 'all' using the vendor directory
        (Use -mod=mod or -mod=readonly to bypass.)
, and request https://github.com/anz-bank/sysl-go/codegen/arrai/service.arrai failed: 404 Not Found

Attempting to run:

let [_, basepath, json, appname, groups] = //os.args;
let service = //{github.com/anz-bank/sysl-go/codegen/arrai/service.arrai};

service

where the dependency (sysl-go) is vendored causes the error.

Your Environment

$ arrai info
Version    : bf81605350d216e86c926a4f3b92944eda6fe569 (from v0.137.0)
Git commit : bf81605350d216e86c926a4f3b92944eda6fe569
Date       : 2020-09-01T01:28:54Z
OS/arch    : darwin/amd64
Go version : go1.14.5 darwin/amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants