Open ribafs opened 5 years ago
It's still this way. Any way to escalate?
There's of course the ZIP file workaround, but it sucks IMHO.
This is what I get. Looks pretty similar.
D:\Projects\PhoneGap\Projects\WrapperPolygon\Project New>call phonegap remote --no-proxy build android
[phonegap] compressing the app...
[phonegap] uploading the app...
There was an unhandled exception within phonegap-cli! If you would like to help the PhoneGap project, please file the following details over at https://github.com/phonegap/phonegap-cli/issues
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at makeCallback (fs.js:136:11)
at Object.rmdir (fs.js:666:14)
at Object.cleanup (C:\Users\Anders Borg\AppData\Roaming\npm\node_modules\phonegap\node_modules\phonegap-build\lib\phonegap-build\create\zip.js:119:16)
at Object.callback (C:\Users\Anders Borg\AppData\Roaming\npm\node_modules\phonegap\node_modules\phonegap-build\lib\phonegap-build\build\remote.js:71:21)
at Request._callback (C:\Users\Anders Borg\AppData\Roaming\npm\node_modules\phonegap\node_modules\phonegap-build-api\lib\api.js:230:26)
at Request.self.callback (C:\Users\Anders Borg\AppData\Roaming\npm\node_modules\phonegap\node_modules\request\request.js:185:22)
at Request.emit (events.js:189:13)
at Request.
I just updated everything (node, cordova, phonegap, npm) and I still get the same result, in my case on Windows.
npm: 6.10.1 node: 10.16.0 (lower than for @ribafs, but the official version) cordova: 9.0.0 phonegap: 8.2.2 (released November 2018)
também estou com o mesmo problema
PhoneGap CLI, node & npm versions
Phonegap 8.2.2 node - 11.14 npm - 6.7
Expected Behaviour
Compile to builder
Actual Behaviour
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at makeCallback (fs.js:141:11) at Object.rmdir (fs.js:687:14) at Object.cleanup (/usr/lib/node_modules/phonegap/node_modules/phonegap-build/lib/phonegap-build/create/zip.js:119:16) at Object.callback (/usr/lib/node_modules/phonegap/node_modules/phonegap-build/lib/phonegap-build/create/remote.js:83:21) at Request._callback (/usr/lib/node_modules/phonegap/node_modules/phonegap-build-api/lib/api.js:214:22) at Request.self.callback (/usr/lib/node_modules/phonegap/node_modules/request/request.js:185:22) at Request.emit (events.js:193:13) at Request. (/usr/lib/node_modules/phonegap/node_modules/request/request.js:1161:10)
at Request.emit (events.js:193:13)
at IncomingMessage. (/usr/lib/node_modules/phonegap/node_modules/request/request.js:1083:12)
Steps to Reproduce
On linux mint 19.1 phonegap remote build android
Sample Code that illustrates the problem
https://github.com/ribafs/breakout-br
Error messages