Random workarounds:
-Change some setting inside the docker-compose and then deploy. After successful deploy undo change to the docker-compose and deploy again.
-Sometimes Quit Docker Desktop completely works
And Docker show up the error messaje of Error: Cannot find module 'redis'.
I’ve already activated redis, even I deactivate and activate and is the same.
The new workaround is disable from here the Redis to start working again.
Enabling the redis there in the project settings, should actually automatically reflect the Server Connect setting. Isn’t that the case with you?
I just tried it and when enabling Redis in the development target settings, it is also enabled in the server connect setting and also added to the package.json
I’m working only in local with Docker as you can see.
When enable Redis in Project Settings, in the Server Connect Settings the Redis get activated too, and the package.json file is proper added with the redis dependencies, until here everything is OK.
Problem comes when I add a new variable into the Environments throght the Server Connect Settings. It remove all the redis entrances of redis in the package.json and it cause that Docker show error of Error: Cannot find module 'redis'.
And the workaround that make it work again is deactivate Redis from the Server Connect Settings.
I see, now I was able to replicate indeed. When saving any other server connect options, indeed like environment vars, the redis settings got lost temporally.