GithubHelp home page GithubHelp logo

Comments (8)

ripienaar avatar ripienaar commented on July 19, 2024 1

Usually due along with nats server 2.10 but he’s we are planning a sooner one once micro is GA

from natscli.

ripienaar avatar ripienaar commented on July 19, 2024

Are you on the very latest main? I think I fixed that late last week.

from natscli.

r65535 avatar r65535 commented on July 19, 2024

Yeah - the latest commit:

[9:40:43] ryan [~] > go install github.com/nats-io/natscli/nats@main
[9:40:55] ryan [~] > nats --version
v0.0.36-0.20230518200135-0e2aa8ae9576
[9:40:59] ryan [~] > nats micro list
nats: error: /metadata: expected object, but got null

from natscli.

ripienaar avatar ripienaar commented on July 19, 2024

Ok please run with —trace and show me the output will check

from natscli.

r65535 avatar r65535 commented on July 19, 2024

Sure!

[9:41:16] ryan [~] > nats micro list --trace
09:58:15 >>> $SRV.INFO: {}
09:58:15 <<< (209B) {"name":"IsEven","id":"4FXPTOqD7dX33LeoHxUxvs","version":"0.0.1","metadata":null,"type":"io.nats.micro.v1.info_response","description":"Checks whether a supplied number is even","subjects":["micro.iseven.v1"]}
09:58:15 === Received 1 responses
nats: error: /metadata: expected object, but got null

from natscli.

ripienaar avatar ripienaar commented on July 19, 2024

Seems my fix had some uncommited files left to commit. Can you try main again please?

from natscli.

r65535 avatar r65535 commented on July 19, 2024

That's done the trick! Thanks for the quick turn around @ripienaar!

[07:41:00] ryan [~] > go install github.com/nats-io/natscli/nats@main
go: downloading github.com/nats-io/natscli v0.0.36-0.20230522153556-af3a30c8d93b
go: downloading github.com/nats-io/jsm.go v0.0.36-0.20230522153134-15665dcc34e6
go: downloading github.com/nats-io/nats.go v1.25.1-0.20230522134002-c939dd1e9a37
[07:41:02] ryan [~] > nats --version
v0.0.36-0.20230522153556-af3a30c8d93b
[07:41:08] ryan [~] > nats micro list
╭──────────────────────────────────────────────────────────────────────────────────────╮
│                                  All Micro Services                                  │
├────────┬─────────┬────────────────────────┬──────────────────────────────────────────┤
│ Name   │ Version │ ID                     │ Description                              │
├────────┼─────────┼────────────────────────┼──────────────────────────────────────────┤
│ IsEven │ 0.0.1   │ 985Ks8vOI4744gwiIER3qV │ Checks whether a supplied number is even │
╰────────┴─────────┴────────────────────────┴──────────────────────────────────────────╯

from natscli.

antonioaguilar avatar antonioaguilar commented on July 19, 2024

I had reported a similar issue back in April #756 - @ripienaar is there a planned release of the NATS CLI this year? there hasn't been one since last Nov 4, 2022.

from natscli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.