You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ran the following in visual studio console in Windows 10
go version go1.20.1 windows/amd64
first I did a go get:
go get github.com/githubnemo/CompileDaemon
then go install
go install github.com/githubnemo/CompileDaemon
received error
go: inconsistent vendoring in C:\projects\gogo:
github.com/fatih/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/fsnotify/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/githubnemo/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mattn/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/radovskyb/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
To ignore the vendor directory, use -mod=readonly or -mod=mod.
To sync the vendor directory, run:
go mod vendor
did what the error said:
go mod vendor
tried again to install, got error
go install github.com/githubnemo/CompileDaemon
go: finding module for package github.com/githubnemo/CompileDaemon
cannot query module due to -mod=vendor
(Go version in go.mod is at least 1.14 and vendor directory exists.)
tried several options for a while, eventually renamed vendor to vendorX, after that the install worked, renamed vendorX back to vendor, the daemon worked.
Thanks for an awesome product, I'm glad I got it to run.
The text was updated successfully, but these errors were encountered:
I wonder if some of the instructions in the first error about ignoring the vendor directlry could have gotten me through the second error. Maybe just needs a bit more instruction in the second error?
ran the following in visual studio console in Windows 10
go version go1.20.1 windows/amd64
first I did a go get:
then go install
received error
did what the error said:
tried again to install, got error
tried several options for a while, eventually renamed vendor to vendorX, after that the install worked, renamed vendorX back to vendor, the daemon worked.
Thanks for an awesome product, I'm glad I got it to run.
The text was updated successfully, but these errors were encountered: