Skip to content

server.router.find is not a function #10

Description

@paulrobello

package.json versions
"restify": "^7.2.1",
"restify-prom-bundle": "^2.0.3",

using the default handler
server.pre(promBundle.preMiddleware(server, {/* options */}));

I get the following error:
TypeError: server.router.find is not a function
at ...\node_modules\restify-prom-bundle\built\js\preMiddleware.js:138:23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions