Practical Microservices: import of uuid (page 6)

Importing uuid seems to work like this nowadays:

const { v4: uuid } = require('uuid')

Indeed. That was unfortunate timing for that change. Thank you for posting the solution.