tgerhardt91 / insomnia-plugin-graphql-query-generator

Insomnia (https://insomnia.rest/) plugin to auto-generate graphql operations
3 stars 1 forks source link

Failed to install insomnia-plugin-graphql-query-generator #1

Open ajsb85 opened 2 years ago

ajsb85 commented 2 years ago

Hi, @tgerhardt91

I get this error when I try to install the plugin.

Cheers.

Error: Error invoking remote method 'installPlugin': Error: Yarn error {"type":"warning","data":"package.json: No license field"}

    at o.invoke (node:electron/js2c/renderer_init:57:526)
    at async FP._handleAddFromNpm (file:///C:/Users/ajsb85/AppData/Local/insomnia/app-2022.5.1/resources/app.asar/index.ca52339c.js:1822:44230)

image

tgerhardt91 commented 2 years ago

Hey @ajsb85!

I am not able to recreate that in my insomnia env. Looks like we are on the same version as well. I did add an additional license property in the 'insomnia' section of the package.json, there's a chance that may resolve your issue.

I did see a few S/O threads where people were working around this by doing a manual 'npm install' of the plugin package in the insomnia plugins folder.