FMotalleb / nu_plugin_image

MIT License
11 stars 4 forks source link

nu 0.91 support #11

Closed maxim-uvarov closed 6 months ago

maxim-uvarov commented 6 months ago

Hello! With version 0.91, the plugin stopped working. I tried to reinstall it but with no success. I guess it is related to the new version. Would you mind updating it, please?

❯ nupm install --path . -f
2024-03-08T09:16:23.967|INF|installing package nu_plugin_image
2024-03-08T09:16:29.110|INF|building using `cargo install --path /Users/user/git/nu_plugin_image --root /Users/user/.local/share/nupm/plugins --features="font-anonymous_pro,font-iosevka_term,font-ubuntu"`
  Installing nu_plugin_image v0.4.0 (/Users/user/git/nu_plugin_image)
    Updating crates.io index
   Compiling nu_plugin_image v0.4.0 (/Users/user/git/nu_plugin_image)
    Finished release [optimized] target(s) in 30.10s
   Replacing /Users/user/.local/share/nupm/plugins/bin/nu_plugin_image
    Replaced package `nu_plugin_image v0.4.0 (/Users/user/git/nu_plugin_image)` with `nu_plugin_image v0.4.0 (/Users/user/git/nu_plugin_image)` (executable `nu_plugin_image`)
warning: be sure to add `/Users/user/.local/share/nupm/plugins/bin` to your PATH to be able to run the installed binaries
Error:   × Error getting signatures
   ╭─[source:1:1]
 1 │ register /Users/user/.local/share/nupm/plugins/bin/nu_plugin_image
   · ────┬───
   ·     ╰── Plugin failed to decode: data did not match any variant of untagged enum PluginOutput
FMotalleb commented 6 months ago

Hi! pull new changes and try again.

maxim-uvarov commented 6 months ago

nu-image-1709904057