Skip to content

Error: Cannot find module 'express-sslify' #4

@DipFlip

Description

@DipFlip

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 [email protected]:nytimes/library-customization-example.git
cd  library-customization-example
docker compose up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions