-
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Type: DuplicateAlready answered or fixed previouslyAlready answered or fixed previously
Description
Hi, i want send email with my adonis app, and then i install adonis mail in my app ( adonis install @adonisjs/mail ),
and then register provider in my start/app.js but when i try to run adonis serve, it throwing error Error: Cannot find module '@adonisjs/mail/providers/MailProvider'.
can some one help me? thank you
Version
Adonis = 4.1.0
@adonisjs/mail = 7.1.0
npm = 6.11.3
node = 12.10.0
start/app.js
'use strict'
const providers = [
'@adonisjs/framework/providers/AppProvider',
'@adonisjs/auth/providers/AuthProvider',
'@adonisjs/bodyparser/providers/BodyParserProvider',
'@adonisjs/cors/providers/CorsProvider',
'@adonisjs/lucid/providers/LucidProvider',
'@adonisjs/session/providers/SessionProvider',
'@adonisjs/mail/providers/MailProvider'
]
const aceProviders = [
'@adonisjs/lucid/providers/MigrationsProvider'
]
const aliases = {}
const commands = []
module.exports = { providers, aceProviders, aliases, commands }
Metadata
Metadata
Assignees
Labels
Type: DuplicateAlready answered or fixed previouslyAlready answered or fixed previously