You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@capacitor/core@3.0.0
updated 1 package and audited 89 packages in 1.408s
5 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
npm.cmd i -D -E @capacitor/cli
@capacitor/cli@3.0.0
updated 1 package and audited 89 packages in 4.464s
found 0 vulnerabilities
capacitor.cmd init ionic-app-base io.ionic.starter --npm-client npm error: unknown option '--npm-client'
[ERROR] An error occurred while running subprocess capacitor.
capacitor.cmd init ionic-app-base io.ionic.starter --npm-client npm exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
NodeJS : v14.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.13.7
OS : Windows 10
Additional description
It worked fine a few days ago, but suddenly I got this error. I've tested this on other systems and also encountered the same symptom. So I wonder if the ionic template has some changes?
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
When I met an
error: unknown option '--npm-client
error when I callionic integrations enable capacitor
.Capacitor Version
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 3.0.0
@capacitor/core: 3.0.0
@capacitor/android: 3.0.0
@capacitor/ios: 3.0.0
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/cli: 3.0.0
@capacitor/android: 3.0.0
@capacitor/core: 3.0.0
[success] Android looking great! 👌
Code Reproduction
npm install -g ionic
ionic start appname
cd appname
npm install --save @capacitor/core @capacitor/cli
integrations enable capacitor
-> output
updated 1 package and audited 89 packages in 1.408s
5 packages are looking for funding
run
npm fund
for detailsfound 0 vulnerabilities
updated 1 package and audited 89 packages in 4.464s
found 0 vulnerabilities
Other Technical Details
npm --version
output:6.13.7
node --version
output:v14.16.1
ionic info
Ionic:
Ionic CLI : 5.4.16 (C:\Users\jeonghwa\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 5.6.7
@angular-devkit/build-angular : 0.1102.13
@angular-devkit/schematics : 11.2.13
@angular/cli : 11.2.13
@ionic/angular-toolkit : 3.1.1
Utility:
cordova-res : 0.15.3
native-run : 1.3.0
System:
NodeJS : v14.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.13.7
OS : Windows 10
Additional description
It worked fine a few days ago, but suddenly I got this error. I've tested this on other systems and also encountered the same symptom. So I wonder if the ionic template has some changes?
The text was updated successfully, but these errors were encountered: