Ionic-capacitor v3 unknown option ‘–npm-client’

@Smizz you can do 2 things:

  1. install testing version of ionic-cli: npm install -g @ionic/cli@testing
    or
  2. install older version of capacitor, for example in package.json:
    “dependencies”: { … , “@capacitor/android”: “^2.4.2”, “@capacitor/core”: “2.4.2”, …},
    “devDependencies”: { … “@capacitor/cli”: “2.4.2”, … }
    first run: npm uninstall capacitor
    then run: npm install capacitor
    The 2nd works for me just now, 10sec ago.
2 Likes