How do I import a module

Please tell me someone can clear up why I keep getting an error… I literally followed this tutorial https://www.mongodb.com/developer/how-to/nextjs-with-mongodb/