Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid callback crash #24

Open
EsteveAguilera opened this issue Nov 12, 2019 · 0 comments
Open

Invalid callback crash #24

EsteveAguilera opened this issue Nov 12, 2019 · 0 comments

Comments

@EsteveAguilera
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant