Docker install errors
See original GitHub issueI get this error after the initial image build:
root@ssd:~/zDocker/docker-YoutubeDL-Tzahi12345# docker-compose up
Recreating ytdl_material ... done
Attaching to ytdl_material
ytdl_material | internal/modules/cjs/loader.js:796
ytdl_material | throw err;
ytdl_material | ^
ytdl_material |
ytdl_material | Error: Cannot find module '/app/app.js'
ytdl_material | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)
ytdl_material | at Function.Module._load (internal/modules/cjs/loader.js:686:27)
ytdl_material | at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
ytdl_material | at internal/main/run_main_module.js:17:11 {
ytdl_material | code: 'MODULE_NOT_FOUND',
ytdl_material | requireStack: []
ytdl_material | }
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (9 by maintainers)
Top Results From Across the Web
Troubleshoot Docker Engine installation
Troubleshoot Docker Engine installation ; Create or edit the Docker daemon configuration file, which defaults to /etc/docker/daemon.json file, which controls the ...
Read more >Docker Desktop installation failed - Stack Overflow
I was able to install by deleting file "Docker" on C:/ProgramData/ ... I ran into an error there that resulted in the exact...
Read more >Docker Installation error · Issue #12511 · docker/for-win - GitHub
I tried to install it both ways admin and without it. I am installing it fresh no previous version is there also once...
Read more >How To Install Docker Desktop And Troubleshoot Issues In ...
Type and search Services in the windows search box or open run then type services.msc and click Ok. Then you will see a...
Read more >Troubleshooting Docker - Sitecore Documentation
General troubleshooting steps · Check the logs: The logs are the first place to look. · Restart Docker Desktop: Restarting the Docker Desktop ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was able to track down this bug! I had to install a Debian Testing on a virtual machine, and I was finally able to reproduce it.
Basically, on some systems,
docker-compose pull
failed to actually pull the image as thedocker-compose.yml
contained the linebuild: .
. This convinced docker-compose that the image is supposed to be built in that folder rather than pulled. And whendocker-compose up
ran, it tried to build it but failed as it didn’t have the necessary files (app.js, package.json, etc.).Removing
build: .
from the docker-compose.yml fixes the issue. The reason why I had it in there in the first place is it made building the image on my end slightly easier. Anyways, you can check out the fix in this commit. It will make its way into the next update (3.6) which is coming up soon, so stay posted for that.Anyways, thanks for the help @maltokyo!
Great news. Thanks!!