Deployment of Adonis / nuxt on debian 10 #1493
-
Hello, I am trying to put my Adonis 5/ Nuxt application in pre-production. I transferred my project and executed the commands When I run the 2 parts, I come across the following error (see screen). When I develop locally I don't have the slightest problem but I have some on the VPS, I don't know why, Help me! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
How are you starting the server in production? |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your reply. When I run my application in production mode (.env) and build my application with
What is very strange is that the Inside my import Users from 'App/Models/Users'
import { AuthConfig } from '@ioc:Adonis/Addons/Auth'
| Authentication Mapping
const authConfig: AuthConfig = {
guard: 'web',
list: {
web: {
driver: 'session',
provider: {
driver: 'lucid',
identifierKey: 'id',
uids: ['email'],
model: Users,
},
},
},
}
export default authConfig |
Beta Was this translation helpful? Give feedback.
-
Indeed, but this |
Beta Was this translation helpful? Give feedback.
-
Ok, so already I just thank you .... a lot. You save me completely! The only little thing I don't explain is that yesterday I changed Anyway, I thank you very much |
Beta Was this translation helpful? Give feedback.
Ok, so already I just thank you .... a lot. You save me completely! The only little thing I don't explain is that yesterday I changed
/login
toweb
just to test and it didn't work ... I must have had one or two something different from today's project ...Anyway, I thank you very much