insomnia-plugin-request-navigator icon indicating copy to clipboard operation
insomnia-plugin-request-navigator copied to clipboard

Failed to install insomnia-plugin-request-navigator

Open NickRimmer opened this issue 2 years ago • 9 comments

Failed to install insomnia-plugin-request-navigator

There may be an issue with the plugin itself, as a note you can discover and install plugins from the Plugin Hub. Additional Information Error: Error invoking remote method 'installPlugin': Error: Yarn error {"type":"warning","data":"package.json: No license field"} {"type":"error","data":"Received invalid response from npm."}

at a.invoke (node:electron/js2c/renderer_init:2:7723)
at async onSubmit (file:///C:/Users/605500423/AppData/Local/insomnia/app-2023.5.7/resources/app.asar/index-7770d3c9.js:195:513)

Originally posted by @tetsuhaut in https://github.com/NickRimmer/insomnia-plugin-request-navigator/issues/21#issuecomment-1704743940

NickRimmer avatar Sep 04 '23 08:09 NickRimmer

Hi, any news ?

tetsuhaut avatar Sep 19 '23 10:09 tetsuhaut

Is it maybe required to be logged in in insomnia to see the tabs?

tetsuhaut avatar Sep 19 '23 14:09 tetsuhaut

@tetsuhaut, nope, it should work without any registrations or logging in

NickRimmer avatar Sep 25 '23 18:09 NickRimmer

There is License information. So, the issue is with something different. Most probably Received invalid response from npm. means you cannot load NPM package information for some reason. It could be your local security settings (like custom root certificates). Unfortunately, I cannot reproduce it, I tried to remove/install the plugin - everything is working perfectly fine.

image

Can you try to install any other plugins?

NickRimmer avatar Sep 25 '23 18:09 NickRimmer

Thank you for the hint. Indeed, trying to install another plugin fails too. I am behind a corporate proxy, that is probably the reason why the install fails. Do you know how I could display what Insomnia tries to have the Received invalid response from npm. response? Is there a verbose mode for example?
I'll open an issue on the Insomnia side as well.

tetsuhaut avatar Sep 27 '23 13:09 tetsuhaut

juste another question: do you know how I can install manually your plugin? I tried npm install insomnia-plugin-request-navigator, got the response

npm info using [email protected]
npm info using [email protected]
npm verb title npm i insomnia-plugin-request-navigator
npm verb argv "i" "insomnia-plugin-request-navigator" "--loglevel" "verbose"
npm verb logfile logs-max:10 dir:C:\Users\605500423\AppData\Local\npm-cache\_logs\2023-09-27T15_11_08_256Z-
npm verb logfile C:\Users\605500423\AppData\Local\npm-cache\_logs\2023-09-27T15_11_08_256Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/insomnia-plugin-request-navigator 25ms (cache hit)
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 339ms

up to date, audited 19 packages in 876ms

found 0 vulnerabilities
npm verb exit 0
npm info ok

and found nothing in %PROFILE%\AppData\Roaming\Insomnia\plugins :(

tetsuhaut avatar Sep 27 '23 15:09 tetsuhaut

insomnia-plugin-request-navigator.zip

@tetsuhaut here is built version you can just copy to plugins folder. Folder path should be like this C:\Users\USER\AppData\Roaming\Insomnia\plugins\insomnia-plugin-request-navigator

NickRimmer avatar Sep 27 '23 19:09 NickRimmer

unzipping the file you provided to %USERPROFILE%\AppData\Roaming\Insomnia\plugins\insomnia-plugin-request-navigator did the trick. Many thanks!

It would be great if you provided instructions on how to build your plugin (e.g. in https://github.com/NickRimmer/insomnia-plugin-request-navigator/blob/main/README.md), so that I am able to keep using it after potential updates. Anyway, it works now!

tetsuhaut avatar Sep 28 '23 06:09 tetsuhaut

I installed insomnia using snap and I can't install the plugin as well

Saphyel avatar Oct 14 '23 14:10 Saphyel

Hey! Just a heads-up that I'm closing old tickets and archiving this repo. I've started working on my own client, where I'll be applying all the ideas I wanted to bring here 😊

It's called RestApia. Feel free to check it out!

NickRimmer avatar Oct 27 '24 11:10 NickRimmer