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
{{ message }}
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.
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)
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. (C:\Users\Anders Borg\AppData\Roaming\npm\node_modules\phonegap\node_modules\request\request.js:1161:10)
at Request.emit (events.js:189:13)
at IncomingMessage. (C:\Users\Anders Borg\AppData\Roaming\npm\node_modules\phonegap\node_modules\request\request.js:1083:12)
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
The text was updated successfully, but these errors were encountered: