Skip to content

Unable to run docker image #44

@Rob-Smith-HDT

Description

@Rob-Smith-HDT

HI, I have followed the instructions in the Readme to deploy the docker image, but when it starts the following errors occur.

Please advise.

:52
2023-05-27 14:39:52 > [email protected] start /opt/qewd
2023-05-27 14:39:52 > NODE_PATH=/opt/qewd/mapped/modules node qewd.js
2023-05-27 14:39:52
2023-05-27 14:39:52 internal/modules/cjs/loader.js:883
2023-05-27 14:39:52 throw err;
2023-05-27 14:39:52 ^
2023-05-27 14:39:52
2023-05-27 14:39:52 Error: Cannot find module '/opt/qewd/mapped/startup'
2023-05-27 14:39:52 Require stack:
2023-05-27 14:39:52 - /opt/qewd/qewd.js
2023-05-27 14:39:52 at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
2023-05-27 14:39:52 at Function.Module._load (internal/modules/cjs/loader.js:725:27)
2023-05-27 14:39:52 at Module.require (internal/modules/cjs/loader.js:952:19)
2023-05-27 14:39:52 at require (internal/modules/cjs/helpers.js:88:18)
2023-05-27 14:39:52 at Object. (/opt/qewd/qewd.js:103:13)
2023-05-27 14:39:52 at Module._compile (internal/modules/cjs/loader.js:1063:30)
2023-05-27 14:39:52 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
2023-05-27 14:39:52 at Module.load (internal/modules/cjs/loader.js:928:32)
2023-05-27 14:39:52 at Function.Module._load (internal/modules/cjs/loader.js:769:14)
2023-05-27 14:39:52 at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
2023-05-27 14:39:52 code: 'MODULE_NOT_FOUND',
2023-05-27 14:39:52 requireStack: [ '/opt/qewd/qewd.js' ]
2023-05-27 14:39:52 }
2023-05-27 14:39:52 npm ERR! code ELIFECYCLE
2023-05-27 14:39:52 npm ERR! errno 1
2023-05-27 14:39:52 npm ERR! [email protected] start: NODE_PATH=/opt/qewd/mapped/modules node qewd.js
2023-05-27 14:39:52 npm ERR! Exit status 1
2023-05-27 14:39:52 npm ERR!
2023-05-27 14:39:52 npm ERR! Failed at the [email protected] start script.
2023-05-27 14:39:52 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2023-05-27 14:39:52
2023-05-27 14:39:52 npm ERR! A complete log of this run can be found in:
2023-05-27 14:39:52 npm ERR! /root/.npm/_logs/2023-05-27T13_39_52_916Z-debug.log

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