You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Device.find is not a function
at Object.exports.isDeviceAllowed (C:\mediacenterjs-master\lib\utils\device-utils.js:48:12)
at C:\mediacenterjs-master\index.js:119:20
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (C:\mediacenterjs-master\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:281:22
at Function.process_params (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:335:12)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:275:10)
at C:\mediacenterjs-master\node_modules\express\lib\application.js:233:9
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:635:15
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:260:14)
at expressInit (C:\mediacenterjs-master\node_modules\express\lib\middleware\init.js:40:5)
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:317:13)
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:335:12)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:275:10)
at query (C:\mediacenterjs-master\node_modules\express\lib\middleware\query.js:45:5)
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:317:13)
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:335:12)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:275:10)
at Function.handle (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:174:3)
at Function.handle (C:\mediacenterjs-master\node_modules\express\lib\application.js:174:10)
at mounted_app (C:\mediacenterjs-master\node_modules\express\lib\application.js:230:10)
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:317:13)
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:335:12)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:275:10)
at C:\mediacenterjs-master\node_modules\express\lib\application.js:233:9
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:635:15
Any solution ?
The text was updated successfully, but these errors were encountered:
TypeError: Device.find is not a function
at Object.exports.isDeviceAllowed (C:\mediacenterjs-master\lib\utils\device-utils.js:48:12)
at C:\mediacenterjs-master\index.js:119:20
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (C:\mediacenterjs-master\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:281:22
at Function.process_params (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:335:12)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:275:10)
at C:\mediacenterjs-master\node_modules\express\lib\application.js:233:9
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:635:15
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:260:14)
at expressInit (C:\mediacenterjs-master\node_modules\express\lib\middleware\init.js:40:5)
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:317:13)
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:335:12)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:275:10)
at query (C:\mediacenterjs-master\node_modules\express\lib\middleware\query.js:45:5)
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:317:13)
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:335:12)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:275:10)
at Function.handle (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:174:3)
at Function.handle (C:\mediacenterjs-master\node_modules\express\lib\application.js:174:10)
at mounted_app (C:\mediacenterjs-master\node_modules\express\lib\application.js:230:10)
at Layer.handle [as handle_request] (C:\mediacenterjs-master\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:317:13)
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:335:12)
at next (C:\mediacenterjs-master\node_modules\express\lib\router\index.js:275:10)
at C:\mediacenterjs-master\node_modules\express\lib\application.js:233:9
at C:\mediacenterjs-master\node_modules\express\lib\router\index.js:635:15
Any solution ?
The text was updated successfully, but these errors were encountered: