Skip to content

Self-improving AI Employees for everyone

revert: machina CLI uses npm, not pnpm

trohitgb8f40afcc18b
diff --git a/bin/cli.js b/bin/cli.js
index 19d80a14..1df425e5 100755
--- a/bin/cli.js
+++ b/bin/cli.js
@@ -127,10 +127,9 @@ function doctor() {
}
function run(script, extraArgs = []) {
- const pmArgs = ['run', script];
- if (extraArgs.length) pmArgs.push('--', ...extraArgs);
- const pm = process.platform === 'win32' ? 'pnpm.cmd' : 'pnpm';
- const child = spawn(pm, pmArgs, {
+ const npmArgs = ['run', script];
+ if (extraArgs.length) npmArgs.push('--', ...extraArgs);
+ const child = spawn(process.platform === 'win32' ? 'npm.cmd' : 'npm', npmArgs, {
cwd: ROOT,
stdio: 'inherit',
shell: true,