-
Below is my log. Any ideas on how to fix?
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
I would retry this. I fixed some issues with Docker recently. docker run --cap-add=SYS_ADMIN \
-it --rm --env-file ./.env \
ghcr.io/jef/streetmerchant:nightly |
Beta Was this translation helpful? Give feedback.
-
I tried with the test notification command and below is what I get.
```
#!/usr/bin/env zsh
cd /Users/jme2712/Desktop/bot
docker run --cap-add=SYS_ADMIN \
-it --rm --env-file ./.env \
ghcr.io/jef/streetmerchant:nightly test:notification:production
exec zsh
STREETMERCHANT
3.0.0
(node:18) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
| property 'httpsAgent' -> object with constructor 'Agent'
| property 'sockets' -> object with constructor 'Object'
| ...
| property 'errored' -> object with constructor 'Object'
--- property 'config' closes the circle
at JSON.stringify (<anonymous>)
at Printf.template (/app/build/logger.js:14:54)
at Printf.transform (/app/node_modules/logform/printf.js:11:26)
at Format.transform (/app/node_modules/logform/combine.js:20:24)
at DerivedLogger._transform (/app/node_modules/winston/lib/winston/logger.js:305:29)
at DerivedLogger.Transform._read (/app/node_modules/readable-stream/lib/_stream_transform.js:177:10)
at DerivedLogger.Transform._write (/app/node_modules/readable-stream/lib/_stream_transform.js:164:83)
at doWrite (/app/node_modules/readable-stream/lib/_stream_writable.js:409:139)
at writeOrBuffer (/app/node_modules/readable-stream/lib/_stream_writable.js:398:5)
at DerivedLogger.Writable.write (/app/node_modules/readable-stream/lib/_stream_writable.js:307:11)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
/app/node_modules/pushover-notifications/lib/pushover.js:146
throw new Error(d.errors[0], res)
^
Error: application token is invalid
at Pushover.errors (/app/node_modules/pushover-notifications/lib/pushover.js:146:13)
at IncomingMessage.<anonymous> (/app/node_modules/pushover-notifications/lib/pushover.js:250:12)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! streetmerchant@ test:notification:production: `node build/__test__/notification-test.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the streetmerchant@ test:notification:production script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/appuser/.npm/_logs/2020-12-08T19_46_53_077Z-debug.log
jme2712@Justins-MacBook-Pro bot %
```
… On Dec 8, 2020, at 2:26 PM, Jef LeCompte ***@***.***> wrote:
docker run --cap-add=SYS_ADMIN \
-it --rm --env-file ./.env \
ghcr.io/jef/streetmerchant:nightly <http://ghcr.io/jef/streetmerchant:nightly>
|
Beta Was this translation helpful? Give feedback.
-
Interestingly enough, the latest @jme2712, can you use the |
Beta Was this translation helpful? Give feedback.
-
Okay, I've update the Another thing you want to look into is remove all quotes in the |
Beta Was this translation helpful? Give feedback.
-
That did it! Thank you much
… On Dec 8, 2020, at 3:37 PM, Jef LeCompte ***@***.***> wrote:
Okay, I've update the nightly image.
Another thing you want to look into is remove all quotes in the .env. This has side effects with Docker. See: #875 (comment) <#875 (comment)>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <https://github.com/jef/streetmerchant/issues/1005#issuecomment-740992567>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALQQO3EWC4OBH6QZJR3CLE3ST2FCDANCNFSM4UF64H5A>.
|
Beta Was this translation helpful? Give feedback.
-
You're very welcome! |
Beta Was this translation helpful? Give feedback.
Okay, I've update the
nightly
image.Another thing you want to look into is remove all quotes in the
.env
. This has side effects with Docker. See: #875 (comment)