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 was archived by the owner on Apr 11, 2022. It is now read-only.
Repository navigation
This repository was 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)
Activity
andersborgabiro commentedon Apr 29, 2019
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. (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)
andersborgabiro commentedon Jul 15, 2019
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)
dbessa1 commentedon Jul 30, 2019
também estou com o mesmo problema