Skip to content

Error #248

@irfan1084

Description

@irfan1084

I have error install in centos 7 and debian 9

TypeError: Device.find is not a function
at Object.exports.isDeviceAllowed (/opt/mediacenterjs/lib/utils/device-utils.js:48:12)
at /opt/mediacenterjs/index.js:119:20
at Layer.handle [as handle_request] (/opt/mediacenterjs/node_modules/express/lib/router/layer.js:95:5)
at next (/opt/mediacenterjs/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/opt/mediacenterjs/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/opt/mediacenterjs/node_modules/express/lib/router/layer.js:95:5)
at /opt/mediacenterjs/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/opt/mediacenterjs/node_modules/express/lib/router/index.js:335:12)
at next (/opt/mediacenterjs/node_modules/express/lib/router/index.js:275:10)
at /opt/mediacenterjs/node_modules/express/lib/application.js:233:9
at /opt/mediacenterjs/node_modules/express/lib/router/index.js:635:15
at next (/opt/mediacenterjs/node_modules/express/lib/router/index.js:260:14)
at expressInit (/opt/mediacenterjs/node_modules/express/lib/middleware/init.js:40:5)
at Layer.handle [as handle_request] (/opt/mediacenterjs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/opt/mediacenterjs/node_modules/express/lib/router/index.js:317:13)
at /opt/mediacenterjs/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/mediacenterjs/node_modules/express/lib/router/index.js:335:12)
at next (/opt/mediacenterjs/node_modules/express/lib/router/index.js:275:10)
at query (/opt/mediacenterjs/node_modules/express/lib/middleware/query.js:45:5)
at Layer.handle [as handle_request] (/opt/mediacenterjs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/opt/mediacenterjs/node_modules/express/lib/router/index.js:317:13)
at /opt/mediacenterjs/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/mediacenterjs/node_modules/express/lib/router/index.js:335:12)
at next (/opt/mediacenterjs/node_modules/express/lib/router/index.js:275:10)
at Function.handle (/opt/mediacenterjs/node_modules/express/lib/router/index.js:174:3)
at Function.handle (/opt/mediacenterjs/node_modules/express/lib/application.js:174:10)
at mounted_app (/opt/mediacenterjs/node_modules/express/lib/application.js:230:10)
at Layer.handle [as handle_request] (/opt/mediacenterjs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/opt/mediacenterjs/node_modules/express/lib/router/index.js:317:13)
at /opt/mediacenterjs/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/mediacenterjs/node_modules/express/lib/router/index.js:335:12)
at next (/opt/mediacenterjs/node_modules/express/lib/router/index.js:275:10)
at /opt/mediacenterjs/node_modules/express/lib/application.js:233:9
at /opt/mediacenterjs/node_modules/express/lib/router/index.js:635:15

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