#Build error

29 messages · Page 1 of 1 (latest)

brisk valve
#

hello! im trying to install package from github but there is a error

#

error: ```Build Error: go build -o /Users/macuser/Downloads/hhhhh-chris124567-patch-1/__debug_bin -gcflags all=-N -l .

github.com/SET-UTube/hhhhh

./main.go:71:19: undefined: client.NewDefaultClient (exit status 2)```

#

part of bugged code: 71. client := client.NewDefaultClient(huluSession, huluGUID) 72. w := tabwriter.NewWriter(os.Stdout, 8, 8, 0, '\t', 0) 73. defer w.Flush()

#

it shows red underline at NewDefaultClient(huluSession, huluGUID)

minor ore
#

You're shadowing client here: client := client.
What is client before that? It seems it's undefined?

umbral harness
#

variable with the same name as a package, can cause problem.

brisk valve
brisk valve
#

or what?

#

sorry for stupid questions

#

im new to scripting

#

i got error NewDefaultClient not declared by package client

minor ore
#

Okay, what is client supposed to be? Where is it imported from?

#

Also, Go isn't "scripting".

brisk valve
minor ore
#

Okay, please tell me specifically what it's supposed to be.

brisk valve
#

this is the Hulu downloader

#

:/

#

lemme send u github code

#

ive took it from the original thing but in latest ver there was no widevine so i got it with widevine

minor ore
#

Oh, wait, so this is not your software at all? You want help compiling third party software?

brisk valve
#

i can close this tho

minor ore
#

Not a problem, it just changes how the problem can be solved.

#

Best way is probably to post an issue on the github repo.

brisk valve
#

so i got comit with that folder

#

just older ver

minor ore
#

Okay.