Could not open input file: C:\Program

Issue Summary

I’m trying to install a WP-CLI package and its companion plugin. The package installs just fine and the plugin appears to do so as well, but it throws up this line when it’s done installing:

Could not open input file: C:\Program

System Details

  • Which version of Local is being used?
    6.4.2+6012

  • What Operating System (OS) and OS version is being used?
    Microsoft Windows 11 Home, Version 10.0.22000, Build 22000

local-logs.zip (9.9 KB)

I should also note than when I try to use the plugin, I get this:

Error: This command requires the companion plugin to be installed and active. Run wp login install --activate and try again.

Hi @MikeD - thanks for using Local!

I don’t see any tell-tale errors in the Local logs. Which WP CLI package are you attempting to install? I’d like to see if I can recreate on my machine and troubleshoot from there!

Thanks @austinwendt. It’s WP-CLI Login Command.

Awesome, thanks!

I was able to get this installed on Mac - I wonder if it is Window’s specific? Let me try over there…

How are you installing the package? This is my terminal output after creating a new site and using “Open Site Shell” to jump into the terminal -

Thanks Austin. I’m using WP-CLI through the site shell. The package itself appears to install fine. The only difference I could see is that after “Success: Companion plugin installed” I had another line saying “Could not open input file: C:\Program”

Interesting, I do see the “Could not open input file” error when running in Windows. I assume it is some form of pathing issue? Hmm, let me dig into this a bit and I’ll let you know if I find anything.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.