run-p: command not found #169
Replies: 2 comments 7 replies
-
|
Hi Bob—Thanks for posting this! I still haven't heard from anyone with definitive details on how they fixed it; just fairly arbitrary things like rebooting (sometimes multiple times), or reinstalling Node.js, etc., and then running I don't use Local, so I don't have any particular insights there. Some questions for you:
|
Beta Was this translation helpful? Give feedback.
-
|
Greg, Thanks... i actually got it working and I think i might have to do with permissions maybe. So In Local there is a "tool" that will open your shell for you I believe as the "Local" user. When trying to run When I open the same theme folder outside of "Local's" terminal and directly in my terminal as my mac user, it seems to work correctly... installing all the folders needed and So there might be something with using the default "local" terminal "user" vs my regular user or how my node is installed. Or could be pathing... not sure.. not a big node user etc... just follow the posted commands. Typcially i just use the terminal in my Local to run wpcli but then even then i usually do it as the mac user. Thus if others run into this, maybe this is a solution. Not totally sure.' |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I know this was asked last year in #67, but I'm running into this issue and there was no solution posted.
npm install does create the node_modules folder, but all the sub folders are empty. Then of course "npm run dev" returns the sh: run-p: command not found error. essentially the same issues as reported in the other discussion.
I've removed the folder several times and done npm install and get the same behavior.
I'm using WPEngine's Local latest Version 9.2.0+6762. as my dev environment on a Mac OS 15.3
Node.js v22.12.0
npm 10.9.0
WP-CLI: WP-CLI 2.11.0
Composer: 2.6.2 2023-09-03
PHP: 8.3.11
MySQL: mysql Ver 8.0.35 for macos13 on x86_64 (MySQL Community Server - GPL)
from PHPStorm:

not sure if my setup is wrong or am I missing something?
Thanks,
Bob
Beta Was this translation helpful? Give feedback.
All reactions