Skip to content

Invalid callback crash #24

Description

@EsteveAguilera

Whenever I try to generate a framed image, I get the same error:

Downloading frame Apple iPhone 7 Plus Jet Black [                   ] Infinity/bps 1% 0.0s
fs.js:154
    throw new ERR_INVALID_CALLBACK(cb);
    ^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
    at makeCallback (fs.js:154:11)
    at Object.unlink (fs.js:1035:14)
    at DuplexWrapper.<anonymous> (/usr/local/lib/node_modules/deviceframe/cli.js:338:43)
    at DuplexWrapper.emit (events.js:209:13)
    at EventEmitter.emit (events.js:209:13)
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/deviceframe/node_modules/got/index.js:111:7)
    at Object.onceWrapper (events.js:299:26)
    at ClientRequest.emit (events.js:209:13)
    at TLSSocket.socketErrorListener (_http_client.js:406:9)
    at TLSSocket.emit (events.js:209:13)

I've tried with different device frames with no luck...

I'm running the command:

$ dframe iPhone_1.png

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions