Skip to content

sgnn7/deploying_with_docker

Repository files navigation

Deployment with Docker

This repository contains all the code that is used in the book.

Troubleshooting

Most problems with the code are due to the speed of development for the dependencies of NodeJS and they are listed here with solutions.

TypeError: 'connect' only accepts a callback

mongodb package was released with a new version that breaks backwards compatibility. The exact fix is here and is already available on the master branch of this repository.

body-parser deprecated undefined extended

This is another issue with the mongodb package changes that occured after the book was printed. Fix for this issue is here and the fix has also already been applied to the master branch of this repository.