runnerw.exe Error 216

Completed

I'm having problems finding the source of this error. I installed Goland through the JetBrains toolbox and installed the newest version of GO. 

 

If you need more information let me know, because I'm unsure what information is even relevant to this issue.

 

runnerw.exe: CreateProcess failed with error 216 (no message available)

Process finished with exit code 216

0
12 comments

Please attach the source code of the program you're trying to run

 

1
Avatar
Permanently deleted user

I'm just trying to run some example code for testing.

package testing2

import "fmt"

func main() {
sum := 1
for ; sum < 1000; {
sum += sum
}
fmt.Println(sum)
}

0

You cannot run file with testing2 package name: https://play.golang.org/p/lkockD9sv-p

1
Avatar
Permanently deleted user

Oh, well I'm just an idiot. Thank you very much.

0

No problem. IDE should provide better error message in this case, indeed.

1

I am new to glang.  So I install GoLand and created a simple "Hello World" project.  GoLand by default, creates a "awesomeProject" and uses that as the package name.  Then when I try to run the simple app, I get the error listed about.  So my question is, why should I purchase GoLand if it cannot tell me what I am going wrong?

0

Hi Collin,

Highlighting an error in absolutely valid and compilable file is not the obvious thing, I think we'll do something about this particular this error, but there is always a trade-off between highlighting everything that IDE can highlight and allowing a user deal with their code as they want without bothering theirs.

As for purchasing, GoLand has a lot of features that will help you develop your programs in Go, JS and other languages, and it has 30-days period so you can try all of them and then decide whether you need it. For example, please see the release notes for the latest Early Public update: https://blog.jetbrains.com/go/2018/06/28/goland-2018-2-eap-3-move-refactoring-vgo-updates-new-inspections-actions-and-a-lot-of-platform-updates/.

Btw, `New | Go File | Simple Application` will create a file with a `main` package.

1
Avatar
Permanently deleted user

 Alexander Zolotov,Thanks,I'm new guy in golang,your answer saved my time.

0
Avatar
Permanently deleted user

劳烦问您一下,这个问题怎么解决,我已经更改了包名为“main”,仍然出现这个问题,谢谢您。

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

点开下面的+号看里面的错误日志呗,应该有提示的

0
Avatar
Permanently deleted user

也不知道是怎么了,又可以用了。我去。

0

Please sign in to leave a comment.