Skip to content

docker compose instructions not working #35

@sbhavani

Description

@sbhavani

Getting the following error below. Issue resolved when switching to node:latest base image

vott_1 | > vott-web@1.0.0 start /app vott_1 | > node server.js vott_1 | vott_1 | internal/modules/cjs/loader.js:583 vott_1 | throw err; vott_1 | ^ vott_1 | vott_1 | Error: Cannot find module 'dotenv' vott_1 | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) vott_1 | at Function.Module._load (internal/modules/cjs/loader.js:507:25) vott_1 | at Module.require (internal/modules/cjs/loader.js:637:17) vott_1 | at require (internal/modules/cjs/helpers.js:20:18) vott_1 | at Object.<anonymous> (/app/server.js:3:1) vott_1 | at Module._compile (internal/modules/cjs/loader.js:689:30) vott_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) vott_1 | at Module.load (internal/modules/cjs/loader.js:599:32) vott_1 | at tryModuleLoad (internal/modules/cjs/loader.js:538:12) vott_1 | at Function.Module._load (internal/modules/cjs/loader.js:530:3)

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