Skip to content

lowpolify webapp not working, "throw new ERR_INVALID_CALLBACK();" #8

Open
@AlienKevin

Description

@AlienKevin

Hi, when I try to process an image on webapp, the cmd displays an error. Here's the full message:

Kevin Li (master) lowpolify $ node server.js
The magic begins on port 8080
A user connected
Hello server! from 8l4gVm3ZEEekOn3uAAAA
GET /slider_module/rzslider.min.css 304 3.529 ms - -
GET /upload_module/ng-file-upload-all.min.js 304 0.819 ms - -
GET /slider_module/rzslider.min.js 304 1.016 ms - -
A user connected
Hello server! from uTrnwE4ilNFqA3TPAAAB
GET /favicon.ico 304 1.641 ms - -
fs.js:137
    throw new ERR_INVALID_CALLBACK();
    ^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
    at makeCallback (fs.js:137:11)
    at Object.unlink (fs.js:936:14)
    at C:\Users\Kevin Li\Desktop\lowpolify\app\routes\index.js:27:24
    at Array.forEach (<anonymous>)
    at C:\Users\Kevin Li\Desktop\lowpolify\app\routes\index.js:21:15
    at FSReqWrap.oncomplete (fs.js:141:20)

I successfully copied the image to the webapp but it can't process it.

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