-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find dialect at #17295
Comments
What version of serverless-offline are you using? |
@DorianMazur I am using the latest version of serverless-offline 13.4.0. But my code works properly with serverless-offline. |
Bug Description
I am using sequelize and @fyreware/mysql-data-api to connect to a AWS Aurora mysql database. When using Node.js 16
everything works just fine. As soon as I upgrade the AWS Lambda version to Node.js 18 or higher, I get the following error message. When I run my code in serverless-offline lambda emulator also on Node.js 20 I can´t reproduce the issue.
In my case I can only reproduce it running my code in AWS Lambda function at the moment.
I found another thread on Stackoverflow. Seems it is not only me, facing this issue.
issue on stackoverflow
Reproducible Example
What do you expect to happen?
Connection to the database is established
What is actually happening?
Connection fails
Environment
Would you be willing to resolve this issue by submitting a Pull Request?
Indicate your interest in the resolution of this issue by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered: