---
# System prepended metadata

title: Bug workshop gnolang

---

# Bug workshop gnolang


Followed https://github.com/xplrz/gnoland-workshop


I try to use imports, so I go inside of `./01-hello-package`

```
cd 01-hello-package
```

I use the tutorial : 
```
$ gnodev test r/solve --verbose

no Go files in /Users/slashbinslashnoname/gnoland-workshop/01-hello-package

std go compiler: exit status 1
FAIL
FAIL    ./r/solve
FAIL
FAIL
FAIL: 1 build errors, 0 test errors
```

I try the rootdir solution

```
$ gnodev test r/solve  --verbose --root-dir ../../gno
=== PREC  ./r/solve
=== BUILD ./r/solve
no Go files in /Users/slashbinslashnoname/gnoland-workshop/01-hello-package

std go compiler: exit status 1
FAIL
FAIL    ./r/solve
FAIL
FAIL
FAIL: 1 build errors, 0 test errors

```

I try inside of `/r/solve`

````
$ gnodev test .  --verbose

=== PREC  ./.
=== BUILD ./.
solve.gno.gen.go:9:2: no required module provides package github.com/gnolang/gno/examples/gno.land/p/hello; to add it:
	go get github.com/gnolang/gno/examples/gno.land/p/hello

std go compiler: exit status 1
FAIL
FAIL    ./.
FAIL
FAIL
FAIL: 1 build errors, 0 test errors

````

I download but it fails

````
$ go get github.com/gnolang/gno/examples/gno.land/p/hello

go: module github.com/gnolang/gno@upgrade found (v0.0.0-20221019142133-9cc1bdc81ca7), but does not contain package github.com/gnolang/gno/examples/gno.land/p/hello
````




## Then I found out maybe something using this


```
~/ » git clone https://github.com/xplrz/gnoland-workshop

~/ » mkdir gnopkg

~/ » cd gnoland-workshop

~/gnoland-workshop » cp -r ./01-hello-package/p ../gnopkg

~/gnoland-workshop » cat ../gnopkg/p/hello/hello.gno

~/gnoland-workshop » cd ../gnopkg/p/hello

~/gnopkg/p/hello » go mod init gno.land/p/hello

~/gnopkg/p/hello » cd ../../../gnoland-workshop

~/gnoland-workshop » go mod edit -replace github.com/gnolang/gno/examples/gno.land/p/hello=../gnopkg/p/hello

~/gnoland-workshop » cd 01-hello-package/r/solve

~/gnoland-workshop/01-hello-package/r/solve (main*) » go get github.com/gnolang/gno/examples/gno.land/p/hello

go: added github.com/gnolang/gno/examples/gno.land/p/hello v0.0.0-00010101000000-000000000000

~/gnoland-workshop/01-hello-package/r/solve (main*) »  gnodev test . 

solve.gno.gen.go:9:2: no required module provides package github.com/gnolang/gno/examples/gno.land/p/hello; to add it:
	go get github.com/gnolang/gno/examples/gno.land/p/hello

~/gnoland-workshop/01-hello-package/r/solve (main*) »  go get github.com/gnolang/gno/examples/gno.land/p/hello

~/gnoland-workshop/01-hello-package/r/solve (main*) »  gnodev test . 

solve.gno.gen.go:9:2: no required module provides package github.com/gnolang/gno/examples/gno.land/p/hello; to add it:
	go get github.com/gnolang/gno/examples/gno.land/p/hello



```

De ce que je comprends

gnodev parse l'import `gno.land` pour `github.com/gnolang/gno/examples/gno.land`

Je foire quelque part mais je sais pas où.