![Solved: MERN Tutorial Issue: Cannot read properties of undefined (reading 'collection') - Other MongoDB Topics - MongoDB Developer Community Forums Solved: MERN Tutorial Issue: Cannot read properties of undefined (reading 'collection') - Other MongoDB Topics - MongoDB Developer Community Forums](https://www.mongodb.com/community/forums/uploads/default/original/3X/e/9/e9b9d526bdd69ad499d2b387234c3253424e5cf9.png)
Solved: MERN Tutorial Issue: Cannot read properties of undefined (reading 'collection') - Other MongoDB Topics - MongoDB Developer Community Forums
![6. Divide the Routes into the separate file and export it by using module exports - NodeJS - YouTube 6. Divide the Routes into the separate file and export it by using module exports - NodeJS - YouTube](https://i.ytimg.com/vi/UaconAa7BfI/maxresdefault.jpg)
6. Divide the Routes into the separate file and export it by using module exports - NodeJS - YouTube
![javascript - Node.js express.Router ERR_MODULE_NOT_FOUND when import the new routes - Stack Overflow javascript - Node.js express.Router ERR_MODULE_NOT_FOUND when import the new routes - Stack Overflow](https://i.stack.imgur.com/8n2kF.png)
javascript - Node.js express.Router ERR_MODULE_NOT_FOUND when import the new routes - Stack Overflow
![vue router - Uncaught SyntaxError: The requested module '/node_modules/.vite/vue.js?v=535663ae' does not provide an export named 'default' - Stack Overflow vue router - Uncaught SyntaxError: The requested module '/node_modules/.vite/vue.js?v=535663ae' does not provide an export named 'default' - Stack Overflow](https://i.stack.imgur.com/BINk2.png)