CodeboxIDE / codebox

Open source cloud & desktop IDE
https://www.codebox.io
Apache License 2.0
4.12k stars 590 forks source link

Go "Hello World" example doesn't run #422

Open stha opened 10 years ago

stha commented 10 years ago

The simple "Hello World" example doesn't run:

package main

import "fmt"

func main() {
    fmt.Println("Hello World")
}

The Terminal exists with:


# command-line-arguments                                                                                                                                                                      
morestack trampoline not defined - runtime.morestack00                                                                                                                                        
morestack trampoline not defined - runtime.morestack10                                                                                                                                        
morestack trampoline not defined - runtime.morestack01                                                                                                                                        
morestack trampoline not defined - runtime.morestack11                                                                                                                                        
morestack trampoline not defined - runtime.morestack8                                                                                                                                         
morestack trampoline not defined - runtime.morestack16                                                                                                                                        
morestack trampoline not defined - runtime.morestack24                                                                                                                                        
morestack trampoline not defined - runtime.morestack32                                                                                                                                        
morestack trampoline not defined - runtime.morestack40                                                                                                                                        
morestack trampoline not defined - runtime.morestack48                                                                                                                                        
####                                                                                                                                                                                          
# Press ENTER to close this shell ...                                                                                                                                                         
####
Jbbouille commented 10 years ago

Are you sure Go is installed on your computer ? (sorry for this trivial question but sometimes...)

stha commented 10 years ago

I ran in this problem on https://www.codebox.io/. I hope they have go installed on their vm's which they offer to users to develop go. 0.o

Jbbouille commented 10 years ago

It was just in case...

I try on https://www.codebox.io/ with button "run" and with the command go run helloworld.go and it didn't work for me too, same error.

I also notice that the go version of the vm in codebox.io was 1.0.2.

I try at home with the openSource version of Codebox and go 1.3.1 and it works perfectly with the command go run helloworld.go.

But with the "run" button it makes :

/usr/local/lib/node_modules/codebox/core/cb.project/go/run.sh: line 26: exec: go : not found

For codebox.io maybe a problem of version. For my case maybe a problem of configuration.

Dhilip-Kumar-S commented 9 years ago

Same here i think CodeBox should upgrade to latest go compiler version.