-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
If you are experiencing an error like the following:
(db㉿Hel)-[~/…/gen0cide/gscript/cmd/gscript]
└─$ ./gscript
panic: could not find the genesis package in your go path
goroutine 1 [running]:
github.com/gen0cide/gscript/compiler/computil.DefaultOptions()
/home/db/go/src/github/gen0cide/gscript/compiler/computil/options.go:164 +0x339
main.init()
/home/db/go/src/github/gen0cide/gscript/cmd/gscript/main.go:17 +0x7ef
Consider the following hacky workaround:
┌──(db㉿Hel)-[~/…/gen0cide/gscript/cmd/gscript]
└─$ export GO111MODULE=off
┌──(db㉿Hel)-[~/…/gen0cide/gscript/cmd/gscript]
└─$ vim main.go
Then modify the following lines of the gscript/cmd/gscript/main.go file:
comment out the logurus dependency at line 7:
// "github.com/sirupsen/logrus
comment the usage of logurus on line 83:
// cliLogger.Logger.SetLevel(logrus.DebugLevel)
Metadata
Metadata
Assignees
Labels
No labels