docker-strapi
docker-strapi copied to clipboard
[BUG] Error: Cannot find module 'mysql'
@naskio The latest STRAPI 4.15.0 container give back the following error message when install it:
Error: Cannot find module 'mysql'
[2023-11-01 11:29:40.969] debug: ⛔️ Server wasn't able to start properly. [2023-11-01 11:29:40.971] error: Knex: run $ npm install mysql --save Cannot find module 'mysql'
same error i am getting
version 4.15.2 is out but the issue persist with every Database client env variable, mysql, postgres even sqlite is not working. I hope @naskio can look into this issue since this image is not working anymore.
+1
Hi guys, Maybe we can use an older version until we find a fix😬.
which version is good?
which version is good?
Release 4.12.1
Hello there, I got the same problem with (Cannot find module 'pg') the Docker image and without (I cannot authenticate to the database due to a problem with environment variables) since 4.15 too. I returned to 4.14.4 with the Docker image, and everything works well.
I just saw that Strapi has shared some news about the latest problems here: Notice: Stability and changes to our release process (v4.15.x through 2023)
hey, I'm getting something similar:
Cannot find module 'pg'
I was hoping v4.16.2 would fix this, but it looks like that's not the case. Does anyone have more info about this?
我也遇到相对应的问题,找不到解决方案
Hey I have a working version here using latest strapi. You would need to copy entire repo but you are more than welcome creating your own image and publishing it somewhere remove -
https://github.com/doasare/docker-strapi/blob/main/README.md
+1 for this issue
Reverting back to 1.14 works fine for now
Another +1
Version 1.14.5 seems to be the last (most) stable version
Hi guys, Maybe we can use an older version until we find a fix😬.
Any fix until today? 👍