Replies: 1 comment 4 replies
-
My servers startup command is set to the below. Could this be the reason? if [[ -d .git ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then npm install ${NODE_PACKAGES}; fi; if [ -f /home/container/package.json ]; then npm install --production; fi; npx ts-node /home/container/index.ts |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I'm getting the below error when trying to deploy on Sparkedhost.
TSError: ⨯ Unable to compile TypeScript:
utils/i18n.ts:1:18 - error TS7016: Could not find a declaration file for module 'i18n'. '/home/container/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:15:24 - error TS7006: Parameter 'msg' implicitly has an 'any' type.
15 logWarnFn: function (msg) {
~~~
utils/i18n.ts:19:25 - error TS7006: Parameter 'msg' implicitly has an 'any' type.
19 logErrorFn: function (msg) {
~~~
utils/i18n.ts:23:27 - error TS7006: Parameter 'locale' implicitly has an 'any' type.
23 missingKeyFn: function (locale, value) {
~~~~~~
utils/i18n.ts:23:35 - error TS7006: Parameter 'value' implicitly has an 'any' type.
23 missingKeyFn: function (locale, value) {
~~~~~
Any information re. a fix for this?
Beta Was this translation helpful? Give feedback.
All reactions