dword-design / nuxt-mail

Adds email sending capability to a Nuxt.js app. Adds a server route, an injected variable, and uses nodemailer to send emails.
Other
239 stars 18 forks source link

[worker reload] [worker init] Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e: #146

Closed Spimy closed 1 year ago

Spimy commented 1 year ago

I keep getting the error mentioned in the title no matter what config I provide. This is what I have in my nuxt.config.ts:

  modules: [
    '@nuxtjs/color-mode',
    [
      'nuxt-mail',
      {
        message: [{ name: 'contact', to: process.env.EMAIL }],
        smtp: {
          host: 'smtp.office365.com',
          secureConnection: false,
          port: 587,
          auth: {
            user: process.env.EMAIL,
            pass: process.env.EMAIL_PASSWORD
          }
        }
      }
    ]
  ],
tidan-16 commented 1 year ago

Same issue here

dword-design commented 1 year ago

Duplicate of https://github.com/dword-design/nuxt-mail/issues/143