I’ve installed the latest cordova / f7 and upon creating a new app, it fails to fetch the cordova-plugin-statusbar plugin. Full log shown below:
$ framework7 create
All good, you have latest framework7-cli version.
? What type of the app are you targeting? Cordova app (targets native iOS and Android apps, or
native desktop app with Electron)
? App (project) name: Foo
? App package (Bundle ID): com.test.foo
? Target Cordova platform: iOS, Android
? What type of framework do you prefer? Framework7 Core
? Choose starter template: Tabbed Views (Tabs)
? Should we setup project with bundler? Webpack (recommended)
? Do you want to setup CSS Pre-Processor No, i am good with CSS
? Do you want to specify custom theme color? No, use default color theme
? Do you want to include Framework7 Icons and Material Icons icon fonts? Yes, include icon font
s
Generating package.json
Creating required folders structure
Installing NPM Dependencies
Installing NPM Dev Dependencies
Executing NPM Scripts
Error creating Cordova project
Failed to fetch plugin [email protected] via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: CordovaError: Could not determine package name from output:
added 2 packages, and audited 3 packages in 577ms
found 0 vulnerabilities
Any idea what went wrong here? I’ve retried multiple times and with slight variances to the selections during the create process… it always fails unless I do a web app only, no cordova support.