Skip to content

Windows Issue: missing print/log output on Node 4.x with sourcemap support #341

Open
@rusco

Description

@rusco
// +build js

package main

import "github.com/gopherjs/gopherjs/js"

func log(i ...interface{}) {
    js.Global.Get("console").Call("log", i...)
}

func main() {
    print("print message")
    log(" log message")
}
gopherjs run main.go

I get no output on Windows 7, 64 bit / Node 4.2.1 + sourcemap lib.
This is a pity, since it is very useful for quick and dirty prototyping.

It used to work without problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions