Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Cannot install plugins #106

@joe-gre

Description

@joe-gre

Expected Behavior

Can install plugins successfully

Actual Behavior

Plugins fail to load. When clicking "Install Plugin" from the marketplace installation fails and it shows this:
image

When installing a plugin from the Plugins tab in preferences it fails to install and shows this message:
image

This issue occurs for every plugin I've tried.

Reproduction Steps

  1. Open the Plugins tab in Insomnia preferences
  2. Type "insomnia-plugin-save-variables" in the text box, or the name of another plugin
  3. Click "Install Plugin"

Is there an existing issue for this?

  • I have searched the issue tracker for this problem.

Additional Information

No response

Insomnium Version

v0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 10 Build 19045

Installation method

.exe

Last Known Working Insomnium version

N/A

Activity

TCB13

TCB13 commented on Nov 18, 2023

@TCB13

+1

techchrism

techchrism commented on Nov 20, 2023

@techchrism
Contributor

This is an issue in Insomnia as well.

The underlying problem is yarn searching parent directories for package.json files. Note that ignoring yarn warnings will not solve this issue as a malformed json will trigger a yarn error.

Your reproduction steps are insufficient to reproduce the problem. To reproduce the problem, before step 3, write {} to a package.json file in any parent directory (the user home directory, for example).

To fix the issue on an individual basis, find and remove the offending package.json by traversing parent directories.

added a commit that references this issue on Nov 20, 2023
b3a2e69
joe-gre

joe-gre commented on Nov 20, 2023

@joe-gre
Author

Thanks you're right, there was a package.json file in my user directory for some reason. I deleted it and am now able to install plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @TCB13@joe-gre@techchrism

      Issue actions

        Cannot install plugins · Issue #106 · ArchGPT/insomnium