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

Quickfix: fix 'getState' error after insomnia update #8

Merged
merged 2 commits into from
Aug 26, 2023

Conversation

ldamet
Copy link
Contributor

@ldamet ldamet commented Aug 25, 2023

closes #7

Quickfix to retrieve the workspaceId/environmentId from the (apparently) new location. I don't know if this is the best way to address the root issue.

Tested locally by runnin:

npm install
npm run build

Copying the generated dist/index.js to %APPDATA%/insomnia/plugins/insomnia-plugin-oa2-mate and restarting insomnia

@NickRimmer
Copy link
Owner

I appreciate your help. Insomnia stopped using redux, hm... and because they provide minimal access to the system for plugins, it is a bit challenging to do anything advanced

@NickRimmer NickRimmer merged commit 3487970 into NickRimmer:main Aug 26, 2023
1 check passed
@NickRimmer
Copy link
Owner

Btw, @ldamet, you can use npm run install. It will copy the previously built Plugin to Insomnia Plugins folder

image

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

Successfully merging this pull request may close these issues.

Plugin error 'getState' after Insomnia update
2 participants