Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gopherjs build error on Windows #875

Closed
@EchoofthePast

Description

@EchoofthePast

I am using windows 7 for my operating system and have the most up to date version of Go at the moment version 1.11.1.
I have just recently reinstalled all the packages hoping that it would rectify my problem but has not

My problem seems to be consistent and no solution exists that i can find, I have searched extensively and have found that others are having similar problems and the solutions have not corrected my problem.

I am trying to transpile a gopherjs file. when i run gopherjs build filename.go I receive an error in terminal

←[31m/src/syscall/syscall_nonlinux.go:5:18: undeclared name: SYS_EXIT
←[39m←[31m/src/syscall/syscall.go:53:39: too few arguments in call to Syscall
←[39m

The first problem that i see with this is that the syscall_nonlinux.go file doesn't even exist in the go root directory and the second error denotes a function with in syscall.go (the file does exist) but the error makes no sense.

I have been stuck on this for some time now and have tried all I can do.
Please help if possible,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions