Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Error on remote builder android linux #810

Open
ribafs opened this issue Apr 17, 2019 · 3 comments
Open

Error on remote builder android linux #810

ribafs opened this issue Apr 17, 2019 · 3 comments
Labels

Comments

@ribafs
Copy link

ribafs commented Apr 17, 2019

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

@andersborgabiro
Copy link

andersborgabiro commented 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
Copy link

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
Copy link

dbessa1 commented Jul 30, 2019

também estou com o mesmo problema

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

4 participants