Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

[bug] : unable to load packages #1

Closed
DIGIX666 opened this issue Oct 3, 2024 · 4 comments
Closed

[bug] : unable to load packages #1

DIGIX666 opened this issue Oct 3, 2024 · 4 comments

Comments

@DIGIX666
Copy link

DIGIX666 commented Oct 3, 2024

Hey @gfanton
I'm trying to use gnopls but after installing this command go install github.com/gfanton/gnopls@latest, I open a gno file and this error appears in my VSCode

Do you know why I get this error?

Error loading workspace: unable to load packages [[/Users/theodub/Documents/GNO/fork/gno_thox/... builtin]]: gnopackagesdriver: exec: "gnopackagesdriver": executable file not found in $PATH:

But I don't have this error if I clone the repo and run make install for have gnopackagesdriver

@gfanton
Copy link
Owner

gfanton commented Oct 3, 2024

Yes, when you run go install github.com/gfanton/gnopls@latest, you are only installing gnopls. You also need to install gnopackagesdriver for it to function properly.

Following this logic, you can install both remotely, but you must execute both commands:

  • go install github.com/gfanton/gnopls/gnopackagesdriver@latest
  • go install github.com/gfanton/gnopls@latest

to ensures that gnopls works correctly.

@DIGIX666
Copy link
Author

DIGIX666 commented Oct 3, 2024

Thanks for your explain :)

I have a question, should an improvement be made so that the links don't tend towards go.dev?
image

@DIGIX666
Copy link
Author

DIGIX666 commented Oct 3, 2024

Another problem after installing gnopls I didn't get any error number in my code. Is this due to gnopls?

image
image

It's good I solved the problem by deleting the GNOROOTs in the GNO extension workspace and uninstalling and reinstalling

@n0izn0iz
Copy link
Collaborator

n0izn0iz commented Oct 7, 2024

I have a question, should an improvement be made so that the links don't tend towards go.dev?

yes I opened an issue for it here #4

It's good I solved the problem by deleting the GNOROOTs in the GNO extension workspace and uninstalling and reinstalling

good to know, closing

(feel free to reopen if you think I did not address the issue)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants