Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install insomnia-plugin-request-navigator #24

Closed
NickRimmer opened this issue Sep 4, 2023 · 10 comments
Closed

Failed to install insomnia-plugin-request-navigator #24

NickRimmer opened this issue Sep 4, 2023 · 10 comments
Labels
question Further information is requested

Comments

@NickRimmer
Copy link
Owner

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 #21 (comment)

@NickRimmer NickRimmer added the bug Something isn't working label Sep 4, 2023
@tetsuhaut
Copy link

Hi, any news ?

@tetsuhaut
Copy link

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

@NickRimmer
Copy link
Owner Author

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

@NickRimmer
Copy link
Owner Author

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?

@tetsuhaut
Copy link

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
Copy link

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 npm@10.1.0
npm info using node@v20.7.0
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 :(

@NickRimmer
Copy link
Owner Author

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 NickRimmer added question Further information is requested and removed bug Something isn't working investigation labels Sep 27, 2023
@tetsuhaut
Copy link

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!

@Saphyel
Copy link

Saphyel commented Oct 14, 2023

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

@NickRimmer
Copy link
Owner Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants