troubleshoot icon indicating copy to clipboard operation
troubleshoot copied to clipboard

cannot find module providing package

Open qicz opened this issue 1 year ago • 2 comments

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 avatar Oct 09 '24 11:10 qicz

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

qicz avatar Oct 10 '24 08:10 qicz

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.

xavpaice avatar Oct 17 '24 06:10 xavpaice