arr-ai / arrai

The ultimate data engine.
http://arr.ai
Apache License 2.0
20 stars 15 forks source link

Remote imports do not work for vendored depedencies #637

Open nydrani opened 4 years ago

nydrani commented 4 years ago

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