Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in windows error install ! #31

Open
iq-rasco opened this issue Sep 4, 2024 · 2 comments
Open

in windows error install ! #31

iq-rasco opened this issue Sep 4, 2024 · 2 comments

Comments

@iq-rasco
Copy link

iq-rasco commented Sep 4, 2024

go install github.com/BishopFox/jsluice/cmd/jsluice@latest
go: downloading github.com/BishopFox/jsluice v0.0.0-20240110145140-0ddfab153e06
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/slyrz/warc v0.0.0-20150806225202-a50edd19b690
go: downloading github.com/pkg/profile v1.6.0
go: downloading github.com/PuerkitoBio/goquery v1.8.1
go: downloading github.com/ditashi/jsbeautifier-go v0.0.0-20141206144643-2520a8026a9c
go: downloading github.com/smacker/go-tree-sitter v0.0.0-20230720070738-0d0a9f78d8f8
go: downloading golang.org/x/exp v0.0.0-20230905200255-921286631fa9
go: downloading github.com/andybalholm/cascadia v1.3.2
go: downloading golang.org/x/net v0.15.0
github.com/smacker/go-tree-sitter/javascript: build constraints exclude all Go files in C:\Users\Admin\go\pkg\mod\github.com\smacker\[email protected]\javascript

github.com/smacker/go-tree-sitter

go\pkg\mod\github.com\smacker\[email protected]\iter.go:17:18: undefined: Node
go\pkg\mod\github.com\smacker\[email protected]\iter.go:21:21: undefined: Node
go\pkg\mod\github.com\smacker\[email protected]\iter.go:25:20: undefined: Node
go\pkg\mod\github.com\smacker\[email protected]\iter.go:30:26: undefined: Node
Capture

go\pkg\mod\github.com\smacker\[email protected]\iter.go:38:32: undefined: Node
go\pkg\mod\github.com\smacker\[email protected]\iter.go:43:9: undefined: Node
go\pkg\mod\github.com\smacker\[email protected]\iter.go:46:18: undefined: Node
go\pkg\mod\github.com\smacker\[email protected]\iter.go:68:40: undefined: Node

@0xdlc
Copy link

0xdlc commented Oct 5, 2024

I have the same issue.

@0xsudomode
Copy link

@iq-rasco @0xdlc

  1. you have to download GCC from here :
    https://sourceforge.net/projects/gcc-win64/

  2. Create a folder in c drive for example : C:\gcc then extract the content of the archive

  3. add it to environment variables (PATH)
    setx PATH "%PATH%;C:\gcc\bin" /M

  4. then build jsluice using this command :
    CGO_ENABLED=1 go install github.com/BishopFox/jsluice/cmd/jsluice@latest

Hope that helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants