App is not starting up
See original GitHub issueI just clone the project and on the root of the project :
- Run npm install
- docker-compose up
I am actually getting on my log -->
api_1 | Error: Cannot find module './server.js'
api_1 | at Function.Module._resolveFilename (module.js:536:15)
api_1 | at Function.Module._load (module.js:466:25)
api_1 | at Module.require (module.js:579:17)
api_1 | at require (internal/module.js:11:18)
api_1 | at Socket.process.stdin.on.data ([eval]:1:68)
api_1 | at emitOne (events.js:116:13)
api_1 | at Socket.emit (events.js:211:7)
api_1 | at addChunk (_stream_readable.js:263:12)
api_1 | at readableAddChunk (_stream_readable.js:250:11)
api_1 | at Socket.Readable.push (_stream_readable.js:208:10)
api_1 | at Pipe.onread (net.js:594:20)
Why its happening? Kind regards
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Fix an installed Android app that isn't working - Google Support
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >If an app on your iPhone or iPad stops responding, closes ...
If an app on your iPhone or iPad stops responding, closes unexpectedly, or won't open · Close and reopen the app. Force the...
Read more >App Won't Open on Android? 10 Ways To Fix - Online Tech Tips
Often apps don't launch properly due to temporary issues that get resolved by simply restarting your device. ... You can perform a soft...
Read more >Apps and programs not launching - Microsoft Community
This maybe an issue with a system file being corrupt. You can try a couple things. Right click your start button and select...
Read more >Program Won't Open When You Click On It in Windows 10? 7 ...
How to Fix When Windows 10 Programs Won't Open · 1. Check for App Updates · 2. Make Sure Windows 10 Is Updated...
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
The problem is related to the docker volumes permissions.
As a workaround, you can change the rights of the ‘build’ directory:
Then, when you re-run
docker-compose up
, it should work without troubles.This is the complete log: