emailjs-imap-client: Can't require ImapClient
Hey guys! I am not sure if I am that idiot or if there is a bug. What I did:
npm install emailjs-imap-client
and then in my main.js:
var ImapClient = require('emailjs-imap-client')
Sadly I get the error: Uncaught Error: Cannot find module “emailjs-imap-client-imap”
Every other NPM module works 😦
Is there an obvious mistake? Thanks in advance!
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 23 (9 by maintainers)
Commits related to this issue
- Fix #95: module loading for webpack — committed to nifgraup/browserbox by nifgraup 8 years ago
Hi, I created some example to show how emailjs modules works with webpack: https://github.com/Axel186/emailjs-and-webpack-example
Take a look - hope it will be useful!