-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[nodemon] app crashed - sudo docker-compose up -d #184
Comments
@enporter try run |
Yes. I went ahead and followed. It progresses further but when I attempt sudo npm start it fails with the same error code. [nodemon] app crashed waiting for changes.
[nodemon] 1.18.4 I'm pretty sure I am just not setting it up right, maybe I missed something. |
@enporter seems you need to run |
~/backend-ico-dashboard$ sudo docker-compose exec -u root ico sh
[nodemon] 1.18.4 Ok I tried:
Different Output:
TypeORM connection error: { Error: ENOENT: no such file or directory, open '/usr/src/app/dist/bin/../certs/ico-key.pem' Ok I am not sure if I am properly building the application. Steps 2-5, where am I running those commands? Inside ico container? Host Machine?
When I run docker-compose exec for ico it always returns permission denied so I add the -u flag for root. Is this normal because I notice none of your commands specify root? Sorry I am mentally retarded when it comes to Docker, I've been pouring over this for weeks. |
Login response:
You need specify |
Same issue for me, I had to replace |
Here is the output:
[nodemon] 1.18.4
[nodemon] to restart at any time, enter
rs
[nodemon] watching: /home/ubuico/backend-ico-dashboard/src/**/*
[nodemon] starting
ts-node ./src/bin/www.ts
Error: ENOENT: no such file or directory, open 'undefined/whitelist-sc-abi.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object. (/home/ubuico/backend-ico-dashboard/src/config.ts:149:26)
at Module._compile (module.js:652:30)
at Module.m._compile (/home/ubuico/backend-ico-dashboard/node_modules/ts-node/src/index.ts:392:23)
at Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .ts] (/home/ubuico/backend-ico-dashboard/node_modules/ts-node/src/index.ts:395:12)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
[nodemon] app crashed - waiting for file changes before starting...
The text was updated successfully, but these errors were encountered: