Closed Dual-0 closed 3 years ago
After git pull
and npm ci
I've got this error
> webhook-gateway@0.0.0 start /opt/matrix-webhook-gateway
> ts-node --compiler ttypescript entry.ts -v
/opt/matrix-webhook-gateway/node_modules/ts-node/src/index.ts:513
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/bridge/events/MessageHandler.ts:6:12 - error TS1243: 'async' modifier cannot be used with 'abstract' modifier.
6 abstract async handleMessage(context: MessageContext): Promise<boolean>;
~~~~~
at createTSError (/opt/matrix-webhook-gateway/node_modules/ts-node/src/index.ts:513:12)
at reportTSError (/opt/matrix-webhook-gateway/node_modules/ts-node/src/index.ts:517:19)
at getOutput (/opt/matrix-webhook-gateway/node_modules/ts-node/src/index.ts:752:36)
at Object.compile (/opt/matrix-webhook-gateway/node_modules/ts-node/src/index.ts:968:32)
at Module.m._compile (/opt/matrix-webhook-gateway/node_modules/ts-node/src/index.ts:1056:42)
at Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Object.require.extensions.<computed> [as .ts] (/opt/matrix-webhook-gateway/node_modules/ts-node/src/index.ts:1059:12)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webhook-gateway@0.0.0 start: `ts-node --compiler ttypescript entry.ts -v`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webhook-gateway@0.0.0 start 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! /root/.npm/_logs/2021-04-26T21_23_14_658Z-debug.log
I fixed this issue a while ago, but forgot to let you know. If you update to the latest version, it will work again.
Hello,
after I've updated matrix to v1.32.2 my matrix-webhook-gateway doesn't work anymore
npm run start
systemd