8000 Unhandled Exception "Callback must be a function" · Issue #803 · phonegap/phonegap-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.
This repository was archived by the owner on Apr 11, 2022. It is now read-only.
Unhandled Exception "Callback must be a function" #803
Open
@jaafit

Description

@jaafit

PhoneGap CLI, node & npm versions:

Phonegap 7.0.1
Node v11.2.0
npm 6.4.1

Expected Behaviour

Successful build

Actual Behaviour

It did seem to have built the app. I downloaded it onto my device and it runs fine. But there was an error:

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at makeCallback (fs.js:144:11)
at Object.rmdir (fs.js:690:14)
at Object.cleanup (/usr/local/lib/node_modules/phonegap/node_modules/phonegap-build/lib/phonegap-build/create/zip.js:119:16)
at Object.callback (/usr/local/lib/node_modules/phonegap/node_modules/phonegap-build/lib/phonegap-build/build/remote.js:71:21)
at Request._callback (/usr/local/lib/node_modules/phonegap/node_modules/phonegap-build-api/lib/api.js:230:26)
at Request.self.callback (/usr/local/lib/node_modules/phonegap/node_modules/phonegap-build-api/node_modules/request/main.js:122:22)
at Request.emit (events.js:182:13)
at Request. (/usr/local/lib/node_modules/phonegap/node_modules/phonegap-build-api/node_modules/request/main.js:655:16)
at Request.emit (events.js:187:15)
at IncomingMessage. (/usr/local/lib/node_modules/phonegap/node_modules/phonegap-build-api/node_modules/request/main.js:617:14)

Steps to Reproduce

It's hard for me to say exactly.

Sample Code that illustrates the problem

It's hard for me to say exactly.

Error messages

See above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0