StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

InvokeAI Failing to Install

Open Maple38 opened this issue 11 months ago • 3 comments

Package

InvokeAI

When did the issue occur?

Installing the Package

What GPU / hardware type are you using?

Apple M3 Max

What happened?

I'm unable to install InvokeAI. It works when installed on its own, but not through SM.

Console output

Unpacking resources Unpacking resources Download Complete Could not install InvokeAI (System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/Users/sidar/Library/Application Support/StabilityMatrix/Packages/InvokeAI/node_modules/.bin/pnpm' with working directory '/Users/sidar/Library/Application Support/StabilityMatrix/Packages/InvokeAI/invokeai/frontend/web'. No such file or directory at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at StabilityMatrix.Core.Processes.ProcessRunner.StartTrackedProcess(Process process) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Processes/ProcessRunner.cs:line 143 at StabilityMatrix.Core.Processes.ProcessRunner.StartAnsiProcess(String fileName, String arguments, String workingDirectory, Action1 outputDataReceived, IReadOnlyDictionary2 environmentVariables) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Processes/ProcessRunner.cs:line 343 at StabilityMatrix.Core.Models.Packages.InvokeAI.SetupAndBuildInvokeFrontend(String installLocation, IProgress1 progress, Action1 onConsoleOutput, IReadOnlyDictionary2 envVars) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/Packages/InvokeAI.cs:line 271 at StabilityMatrix.Core.Models.Packages.InvokeAI.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/Packages/InvokeAI.cs:line 173 at StabilityMatrix.Core.Models.Packages.InvokeAI.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/Packages/InvokeAI.cs:line 233 at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/PackageModification/InstallPackageStep.cs:line 19 at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/PackageModification/PackageModificationRunner.cs:line 35)

Version

2.13.0

What Operating System are you using?

macOS

Maple38 avatar Jan 08 '25 11:01 Maple38

Think I'll just use another tool for now. Keeping the issue open though in case somebody wants to take a look.

Maple38 avatar Jan 08 '25 11:01 Maple38

I have the same issue on Windows 10. Tried it twice now, but it never completes.

When I close and restart Stability Matrix, it appears as an unknown package with the option to import.

ED-robert avatar Apr 16 '25 07:04 ED-robert

you have to go to "StabilityMatrix's Data\Assets\nodejs" folder then rightclick and go to property then go to security and then allow all permission for every user with administrator one by one then reinstall it.

Image

johnwickstyle avatar Jul 16 '25 19:07 johnwickstyle