Skip to content

Error after installing Plugin #14

@tavis1-bit

Description

@tavis1-bit

Install plugin via https://raw.githubusercontent.com/ryanblenis/MeshCentral-WorkFromHome/master/config.json
Open workstation in MeshCentral and go to Plugins tab.
Work From Home shows the below error -

TypeError: Cannot read properties of undefined (reading 'getMaps')
at obj.handleAdminReq (/opt/meshcentral/meshcentral-data/plugins/workfromhome/workfromhome.js:138:20)
at obj.handleAdminReq (/opt/meshcentral/node_modules/meshcentral/pluginHandler.js:558:40)
at obj.handlePluginAdminReq (/opt/meshcentral/node_modules/meshcentral/webserver.js:6498:34)
at Layer.handle [as handle_request] (/opt/meshcentral/node_modules/express/lib/router/layer.js:95:5)
at next (/opt/meshcentral/node_modules/express/lib/router/route.js:149:13)
at Route.dispatch (/opt/meshcentral/node_modules/express/lib/router/route.js:119:3)
at Layer.handle [as handle_request] (/opt/meshcentral/node_modules/express/lib/router/layer.js:95:5)
at /opt/meshcentral/node_modules/express/lib/router/index.js:284:15
at Function.process_params (/opt/meshcentral/node_modules/express/lib/router/index.js:346:12)
at next (/opt/meshcentral/node_modules/express/lib/router/index.js:280:10)

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