Skip to content

pnpm Issue on fresh install of InvokeAI #1319

@Don-Schlaich

Description

@Don-Schlaich

What happened?

Seeing the update for Invoke 6.0, I decided to give InvokeAI another shot.

But when I install it through StabilityMatrix, I can't load the UI, it gives me the following error:

ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION  packages field missing or empty
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your pnpm version is incompatible with "E:\Matrix_Diff\Packages\InvokeAI\invokeai\frontend\web".

Expected version: 10
Got: 8.15.9

This is happening because the package's manifest has an engines.pnpm field specified.
To fix this issue, install the required pnpm version globally.

To install the latest version of pnpm, run "pnpm i -g pnpm".
To check your pnpm version, run "pnpm -v".

I go to look at the package itself, and "\Packages\InvokeAI\node_modules.package-lock.json" is calling out the 8.15.9 version. What do I need to do to fix this? I've tried installing pnpm globally (but I'm not super well-versed in doing this, so it might be installed in the wrong way)

Steps to reproduce

No response

Relevant logs

Version

2.12.2

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions