I’m trying to build debug for android, and in different applications the same error always occurs, yesterday it was working normally:
[01:49:50] + npm i -g cordova@10.0.0
[01:49:55] ERR npm! code
[01:49:55] ETARGET
[01:49:55] ERR npm! notarget No matching version found for hosting-git-info@^4.0.1.
[01:49:55] ERR npm! notarget In most cases, you or one of your dependencies are requesting
[01:49:55] npm
[01:49:55] ERR! notarget a version of the package that does not exist.
[01:49:55] ERR npm! notarget
[01:49:55] ERR npm! notarget It was specified as a dependency on ‘npm-package-arg’
[01:49:55] ERR npm! notarget
[01:49:55] ERR npm! A complete record of this execution can be found at:
[01:49:55] ERR npm! /root/.npm/_logs/2021-03-18T16_49_55_323Z-debug.log
Lana
@Lana
Posts made by Lana
-
Android debug build - failed
-
Build in Monaca doesn't works - Migration of Phonegap
Hi!
I’m have a cordova project and used to generate the builds on Phonegap. I zip the files: www, res, config.xml and package.json but the build doesn’t works!The log file of a Android Build:
[23:43:35] Installing “cordova-plugin-camera” for android
[23:43:35] Subproject Path: CordovaLib
[23:43:35] Subproject Path: app
[23:43:35] Adding cordova-plugin-camera to package.json
[23:43:35] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
[23:43:35] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
[23:43:35] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
[23:43:35] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
[23:43:35] config file undefined requested for changes not found at /tmp/download/platforms/android/undefined, ignoring
[23:43:35] config file undefined requested for changes not found at /tmp/download/platforms/android/undefined, ignoring
[23:43:35] The “path” argument must be of type string. Received type undefined
[23:43:35] + cordova build android --debug --device
[23:43:37] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
[23:43:37] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
[23:43:37] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
[23:43:37] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
[23:43:37] config file undefined requested for changes not found at /tmp/download/platforms/android/undefined, ignoring
[23:43:37] config file undefined requested for changes not found at /tmp/download/platforms/android/undefined, ignoring
[23:43:37] The “path” argument must be of type string. Received type undefined
[23:43:37] + APP_FILE=/tmp/download/platforms/android/app/build/outputs/apk/debug/app-debug.apk
[23:43:37] ++ curl -X POST http://192.168.1.17:3001/upload -F name=android-debug.apk -F file=@/tmp/download/platforms/android/app/build/outputs/apk/debug/app-debug.apk -o /dev/null -w ‘%{http_code}’
[23:43:38] Warning: setting file
[23:43:38] Warning: /tmp/download/platforms/android/app/build/outputs/apk/debug/app-debug.
[23:43:38] Warning: apk failed!
[23:43:38] % Total % Received % Xferd Average Speed Time Time Time Current
[23:43:38] Dload Upload Total Spent Left Speed
[23:43:38]
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
[23:43:38]
100 274
[23:43:38] 0 0 0 274 0 133k --:–:-- --:–:-- --:–:-- 133k
[23:43:38] curl: (26) read function returned funny value
[23:43:38] + HTTP_RESPONSE=100