aws-sdk error in expressjs project – Cannot find module ‘aws-sdk/lib/config_service_placeholders


Everything worked fine then suddenly I got an error that crashes my app before start.
I don’t know from where error came when everything worked fine a day before


I had the same problem and the solution was embarrassingly simple. I use Visual Studio Code and had accidentally imported a bad, unused file.

Going over your files mentioned in the error output and see if you have imported the wrong file 🙂

Hope you find it!

Leave a Reply