andybalholm / cascadia

CSS selector library in Go
BSD 2-Clause "Simplified" License
697 stars 65 forks source link

Error HTML.NODE #35

Closed umairyousif239 closed 6 years ago

umairyousif239 commented 6 years ago

screenshot 211 can u tell me why am i getting this error?

andybalholm commented 6 years ago

Probably you haven't installed all the other packages that Cascadia uses. Try running go get golang.org/x/net/html first. Or better yet, just install Cascadia with go get github.com/andybalholm/cascadia.

umairyousif239 commented 6 years ago

i did both of those but it didnt work

andybalholm commented 6 years ago

What happened when you did them?

umairyousif239 commented 6 years ago

screenshot 216 this is what happend

andybalholm commented 6 years ago

Try go get -u golang.org/x/net/html to make sure you're getting the latest version.

umairyousif239 commented 6 years ago

when i entered go get -u golang.org/x/net/html it said remote origin not found

andybalholm commented 6 years ago

How does it work if you do it from the regular command prompt or PowerShell instead of from MingW?

umairyousif239 commented 6 years ago

nope, still shows the same error

andybalholm commented 6 years ago

How did you install Go? What is the output of go version?

umairyousif239 commented 6 years ago

its go version go1.10.1 windows/amd64

andybalholm commented 6 years ago

Is there anything unusual about your network connection?

umairyousif239 commented 6 years ago

i dont think so, i am trying to use cirnobit repository and this is what is happening

andybalholm commented 6 years ago

What is cirnobit repository and how do you "try to use" it?

umairyousif239 commented 6 years ago

i mean this is how the instructions are screenshot 213

umairyousif239 commented 6 years ago

i was following the instructions and this happend

andybalholm commented 6 years ago

So it's a program that uses Cascadia?

umairyousif239 commented 6 years ago

i think yes, it was there

andybalholm commented 6 years ago

Did you try go get -u golang.org/x/net/html at the regular command prompt?

umairyousif239 commented 6 years ago

yes, it didnt work either

andybalholm commented 6 years ago

Delete the go/src/golang.org directory and try again.

umairyousif239 commented 6 years ago

nope

umairyousif239 commented 6 years ago

didnt work

andybalholm commented 6 years ago

I don't really have any idea what to try next. But we've figured out that the problem is with installing the golang.org/x/net/html package.

umairyousif239 commented 6 years ago

Alright, i will try to find a way tomorrow