I might be doing something wrong but when I do docker compose up on ubuntu 22.04 I get the following error
library-customization-example-web-1 | [0] Error: Cannot find module 'express-sslify'
library-customization-example-web-1 | [0] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
library-customization-example-web-1 | [0] at Function.Module._load (internal/modules/cjs/loader.js:562:25)
library-customization-example-web-1 | [0] at Module.require (internal/modules/cjs/loader.js:692:17)
library-customization-example-web-1 | [0] at require (internal/modules/cjs/helpers.js:25:18)
library-customization-example-web-1 | [0] at Object.<anonymous> (/usr/src/app/custom/middleware/force-https.js:4:17)
library-customization-example-web-1 | [0] at Module._compile (internal/modules/cjs/loader.js:778:30)
library-customization-example-web-1 | [0] at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
library-customization-example-web-1 | [0] at Module.load (internal/modules/cjs/loader.js:653:32)
library-customization-example-web-1 | [0] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
library-customization-example-web-1 | [0] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
library-customization-example-web-1 | [0] [nodemon] app crashed - waiting for file changes before starting...
Steps to reproduce:
git clone git@github.com:nytimes/library-customization-example.git
cd library-customization-example
docker compose up
I might be doing something wrong but when I do
docker compose upon ubuntu 22.04 I get the following errorSteps to reproduce:
git clone git@github.com:nytimes/library-customization-example.git cd library-customization-example docker compose up