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

cannot find module providing package #1643

Open
qicz opened this issue Oct 9, 2024 · 1 comment
Open

cannot find module providing package #1643

qicz opened this issue Oct 9, 2024 · 1 comment

Comments

@qicz
Copy link

qicz commented Oct 9, 2024

Bug Description

go build but occur the error like follow(same with -mod=vendor):

vendor/github.com/replicatedhq/troubleshoot/pkg/collect/mssql.go:12:2: cannot find module providing package github.com/microsoft/go-mssqldb: import lookup disabled by -mod=vendor

@qicz
Copy link
Author

qicz commented Oct 10, 2024

create a symbol link by ln like ln -s /vendor/github.com/Microsoft /vendor/github.com/microsoft works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant