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 · 2 comments
Open

cannot find module providing package #1643

qicz opened this issue Oct 9, 2024 · 2 comments

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.

@xavpaice
Copy link
Member

Thanks for the report. Could you let us know the process you're working through to perform the build? We use the Makefile to drive builds, which may help.

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

2 participants