ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.33k stars 125 forks source link

cannot install plugin in #49

Closed sherryli-1214 closed 9 months ago

sherryli-1214 commented 9 months ago

Expected Behavior

can install plugin in from plugin management

Actual Behavior

Failed to install

There may be an issue with the plugin itself, as a note you can discover and install plugins from the Plugin Hub. Additional Information

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

Insomnium 0.2.1-b

What operating system are you using?

macOS

Operating System Version

13.6 (22G120)

Installation method

download it

Last Known Working Insomnium version

No response

sherryli-1214 commented 9 months ago

rror: Error invoking remote method 'installPlugin': Error: Yarn error {"type":"error","data":"Couldn't find a package.json file in \"/\""}

at a.invoke (node:electron/js2c/renderer_init:2:7723)
at async onSubmit (file:///Applications/Insomnium.app/Contents/Resources/app.asar/index-e5e8515f.js:188:513)
archywillhe commented 9 months ago

thx for reporting; hmm but I'm not able to replicate this

I'm able to install plugins in Insomnium 0.2.1-b on Mac. Can you give more info on the plugin you are trying to install ?

are you copy-and-pasting the right plugin-in ID? (or using the Install button on the plugin page?)

sherryli-1214 commented 9 months ago

Thank you. It is Save Variables. Just confused the plugin is still from insomnia,right? Do you keep any plugin in your repo? Thanks.

archywillhe commented 9 months ago

Yeah; Insomnia plug-in should still work since it does the same scanning of the repo after cloning it into the data directory.

Screenshot 2023-10-17 at 1 41 16 PM Screenshot 2023-10-17 at 1 42 01 PM

I'm able to install Save-Variables and get it working in 0.2.1-b.

I think the error you see is likely caused by a typo, etc, in the url (so it can't find the package.json). Or could also be a Windows-specific problem? I'll keep an eye on this

(Meanwhile yeah I should let it display a better error message)

sherryli-1214 commented 9 months ago

Thank you Previously i can just search" save variables "in isomnia and plugin, but in insomnium, the name must be very exact .

It is quite weird , even I still can search "save variables" in insomnium(not exactly match), but the error will occured if i click install.

Let's close this issue and will contact you if any other issues. Thank you so much.

archywillhe commented 9 months ago

aw I see; thx for the report (look like search-to-select is not functioning - I will need to investigate more) and yeah I'll close it for now

joe-gre commented 8 months ago

I'm unable to install the same "save variables" plugin. I typed the name and clicked "Install Plugin" and get this error: image