RocketChat / rocketchat-tui

9 stars 3 forks source link

"ui/model.go:50:32: undefined: models.SlashCommand " while running go run main.go -debug #10

Open 01xRiverse opened 1 year ago

01xRiverse commented 1 year ago

Not able to start the server due to repeated errors saying models.SlashCommand not found . I am running the rocket.chat meteor server on port 3000 although i dont thing that should be the reason for any trouble .

srrathi commented 1 year ago

Hi @01xRiverse

Thanks for opening this issue and sorry for responding late incase it's not resolved ye try deleting go.sum file and then running go get -u at the root of the project as it will update all the go packages version which we are using.

I hope it helps. let me know if it doesn't work.

01xRiverse commented 1 year ago

Hi !! @srrathi
Yeah i guess it resolved the issue but now i have run into a new error .

github.com/RocketChat/Rocket.Chat.Go.SDK/realtime

../../../go/pkg/mod/github.com/!rocket!chat/!rocket.!chat.!go.!s!d!k@v0.0.0-20221121042443-a3fd332d56d9/realtime/client.go:48:9: c.ddp.SetSocketLogActive undefined (type *ddp.Client has no field or method SetSocketLogActive)

srrathi commented 1 year ago

This should not be happening. Can you share the steps to regenerate this error? I'll have a look into it.

01xRiverse commented 1 year ago

sorry for closing and re-opening . Here are the steps to regenerate the error .

  1. Clone the repo
  2. Follow the setup process.
  3. run go run main.go -debug

you will see the error . ps: I use M1 mac . Could it be that a few dependencies or tools are not compatible with ARM architecture ?