Skip to content

Error: Cannot find module 'http-errors' #4

@aalex

Description

@aalex
api_1         |
api_1         | > api@0.0.0 start /api
api_1         | > node ./bin/www
api_1         |
db_1          | 2020-03-13T18:45:22.744343Z 0 [Warning] CA certificate ca.pem is self signed.
web_1         |
web_1         | > app@0.1.0 start /app
web_1         | > react-scripts start
web_1         |
api_1         | internal/modules/cjs/loader.js:979
api_1         |   throw err;
api_1         |   ^
api_1         |
api_1         | Error: Cannot find module 'http-errors'
api_1         | Require stack:
api_1         | - /api/app.js
api_1         | - /api/bin/www
api_1         |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:976:15)
api_1         |     at Function.Module._load (internal/modules/cjs/loader.js:859:27)
api_1         |     at Module.require (internal/modules/cjs/loader.js:1036:19)
api_1         |     at require (internal/modules/cjs/helpers.js:72:18)
api_1         |     at Object.<anonymous> (/api/app.js:1:19)
api_1         |     at Module._compile (internal/modules/cjs/loader.js:1147:30)
api_1         |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
api_1         |     at Module.load (internal/modules/cjs/loader.js:996:32)
api_1         |     at Function.Module._load (internal/modules/cjs/loader.js:896:14)
api_1         |     at Module.require (internal/modules/cjs/loader.js:1036:19) {
api_1         |   code: 'MODULE_NOT_FOUND',
api_1         |   requireStack: [ '/api/app.js', '/api/bin/www' ]
api_1         | }
db_1          | 2020-03-13T18:45:22.916835Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions