Skip to content

Cannot read property 'trim' of undefined #19

@kunalchikte

Description

@kunalchikte

After setting up this library properly as per requirement, I am getting the error "Cannot read property 'trim' of undefined"

TypeError: Cannot read property 'trim' of undefined at router.get (/home/kunal/AngularProjects/fileExplorer/node_modules/rich-filemanager-node/index.js:35:16) at Layer.handle [as handle_request] (/home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/layer.js:95:5) at next (/home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/layer.js:95:5) at /home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/index.js:335:12) at next (/home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/index.js:275:10) at Function.handle (/home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/index.js:174:3) at router (/home/kunal/AngularProjects/fileExplorer/node_modules/express/lib/router/index.js:47:12)

Please help here

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