getting this issue when trying to get capacitor up and running in an existing project.
capacitor init Ionic-Sandbox io.ionic.starter --npm-client npm
error: unknown option '--npm-client'
[ERROR] An error occurred while running subprocess capacitor.
capacitor init Ionic-Sandbox io.ionic.starter --npm-client npm exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
I have tried:
npm uninstall -g ionic
npm install -g @ionic/cli@latest
suggested here and this does not fix my issue. any help would be appriciated.