dekyfin / RichFilemanager-NODE

A nodejs connector for RichFilemanager
MIT License
12 stars 11 forks source link

Cannot read property 'trim' of undefined #19

Open kunalchikte opened 3 years ago

kunalchikte commented 3 years ago

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