Will you create a bot in herok? #1237
Unanswered
ERROR8376u
asked this question in
Q&A
Replies: 2 comments
-
try add worker: npm start |
Beta Was this translation helpful? Give feedback.
0 replies
-
procfile is one of the most important thing which people forget. also make sure you have configured your settings in heroku. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to host a bot on heroku using your code, but I get an error "/app/node_modules/ts-node/src/index.ts:843
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
utils/i18n.ts:1:18 - error TS7016: Could not find a declaration file for module 'i18n'. '/app/node_modules/i18n/index.js' implicitly has an 'any' type.
Try
npm i --save-dev @types/i18n
if it exists or add a new declaration (.d.ts) file containingdeclare module 'i18n';
1 import i18n from "i18n";
~~~~~~
utils/i18n.ts:39:24 - error TS7006: Parameter 'msg' implicitly has an 'any' type.
39 logWarnFn: function (msg) {
~~~
utils/i18n.ts:43:25 - error TS7006: Parameter 'msg' implicitly has an 'any' type.
43 logErrorFn: function (msg) {
~~~
utils/i18n.ts:47:27 - error TS7006: Parameter 'locale' implicitly has an 'any' type.
47 missingKeyFn: function (locale, value) {
~~~~~~
utils/i18n.ts:47:35 - error TS7006: Parameter 'value' implicitly has an 'any' type.
47 missingKeyFn: function (locale, value) {
~~~~~
diagnosticCodes: [ 7016, 7006, 7006, 7006, 7006 ]
}". So please, could you please do this?
Beta Was this translation helpful? Give feedback.
All reactions