When i try to install anything to cordova i have always after first run of command over framework7 error like this
(mac os Big Sur, F7 v6)
command: framework7 cordova platform add android
error:
Using cordova-fetch for cordova-android@^9.0.0
Failed to fetch platform cordova-android@^9.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
CordovaError: CordovaError: Could not determine package name from output:
added 21 packages, and audited 109 packages in 2s
when i’m working directly over cordova then its ok, but as this problem, i cant create any new project as framework7 not allow to continue without platform selected
full error code
Using cordova-fetch for cordova-android@^9.0.0
Failed to fetch platform cordova-android@^9.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
CordovaError: CordovaError: Could not determine package name from output:
added 21 packages, and audited 109 packages in 2s8 packages are looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
(node:649) UnhandledPromiseRejectionWarning: Error: Shell command exit with non zero code: 1
at ChildProcess. (/usr/local/lib/node_modules/framework7-cli/node_modules/exec-sh/lib/exec-sh.js:73:15)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
(Usenode --trace-warnings ...
to show where the warning was created)
(node:649) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:649) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.