Describe Your Question
- cannot build docker image
- v3-stable
What steps can we follow to reproduce the bug?
- clone and checkout v3-stable
- docker-compose build using Dockerfile in project root
internal/modules/cjs/loader.js:1032
throw err;
^
Error: Cannot find module ‘/usr/src/app/preinstall.js’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
at Function.Module._load (internal/modules/cjs/loader.js:898:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: ‘MODULE_NOT_FOUND’,
requireStack:
}
error Command failed with exit code 1.