Npx cap init - could not determine executable to run

HI,

I followed the getting-started instructions Installing Capacitor | Capacitor Documentation

When I run npx cap init I get error “npm ERR! could not determine executable to run”

Any ideas why this would happen?

Thanks,
Josh

Try deleting node_modules and running npm install and make sure @capacitor/cli is installed