Skip to content

Plugin not installed on Ubuntu 19.04 #798

Closed

Description

@daveremy

Using Ubuntu 19.04.

Created sample plugin in the contributors book in rust.

Did cargo install --path . which looked successful (which nu_plugin_len is found in the .cargo/bin directory) followed by nu.

Did help commands from the nu prompt and len does not show up in list of commands.

Also unable to use len as a filter command.

Activity

  1. daveremy commented on Oct 7, 2019

    @daveremy
    Author

    When using trace see this:

     debug git:(master) ✗ nu --loglevel trace
     TRACE nu::cli > Trying "/home/dremy/code/nu_plugin_len/target/debug/nu_plugin_len"
     TRACE nu::cli > processing response (137 bytes)
     TRACE nu::cli > response: {"jsonrpc":"2.0","method":"response","params":{"Ok":{"name":"len","positional":[],"rest_positional":false,"named":{},"is_filter":true}}}
    

    JsonRpc parse error?

  2. daveremy commented on Oct 7, 2019

    @daveremy
    Author

    Ok, figured it out, dependency on wrong version of nu. The sample in the contributor's book plugin section has dependencies 0.2.0:

    [dependencies]
    nu = "0.2.0"
    

    Seems like it should pin to a major version?

  3. added a commit that references this issue on Feb 7, 2022
  4. added a commit that references this issue on Feb 7, 2022
  5. added a commit that references this issue on Oct 22, 2025
  6. added a commit that references this issue on Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions