Skip to content

TypeError: rest.rester is not a function (CH15) #85

@reybango

Description

@reybango

Hey guys, I'm getting the following error when trying to use the connect-rest package per the code in ch15. Here's the error:

app.use(rest.rester(apiOptions));
^
TypeError: rest.rester is not a function

I'm pasting the approximately line to my code here:

https://github.com/reybango/meadowlark/blob/master/meadowlark.js#L179

I also looked through the package's docs and even tried doing a .create() beforehand with no success.

I'm stumped as to why

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