turt2live / matrix-dimension

An open source integration manager for matrix clients, like Element.
https://dimension.t2bot.io
GNU General Public License v3.0
433 stars 110 forks source link

Latest Master checkout failes to build #371

Closed vmario89 closed 4 years ago

vmario89 commented 4 years ago

Hi, since latest commits i cannot start dimension because it does not compile to end :-( any idea?

dpkg -l | grep synapse ii matrix-synapse-py3 1.18.0+xenial1 amd64 Open federated Instant Messaging and VoIP server

WARNING in ./node_modules/@angular/core/fesm5/core.js 27316:15-36
Critical dependency: the request of a dependency is an expression
 @ ./web/vendor.ts

WARNING in ./node_modules/@angular/core/fesm5/core.js 27328:15-102
Critical dependency: the request of a dependency is an expression
 @ ./web/vendor.ts

WARNING in ./node_modules/@angular/core/fesm5/core.js 27316:15-36
System.import() is deprecated and will be removed soon. Use import() instead.
For more info visit https://webpack.js.org/guides/code-splitting/
 @ ./web/vendor.ts 11:0-24

WARNING in ./node_modules/@angular/core/fesm5/core.js 27328:15-102
System.import() is deprecated and will be removed soon. Use import() instead.
For more info visit https://webpack.js.org/guides/code-splitting/
 @ ./web/vendor.ts 11:0-24

ERROR in [at-loader] ./src/api/security/MatrixSecurity.ts:44:49
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/security/MatrixSecurity.ts:79:107
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/security/MatrixSecurity.ts:87:100
    TS2345: Argument of type 'User' is not assignable to parameter of type 'ILoggedInUser'.
  Type 'User' is missing the following properties from type 'ILoggedInUser': userId, token

ERROR in [at-loader] ./src/api/admin/AdminAppserviceService.ts:53:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminCustomSimpleBotService.ts:57:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminCustomSimpleBotService.ts:68:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminCustomSimpleBotService.ts:79:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminGitterService.ts:67:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminGitterService.ts:85:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminGitterService.ts:104:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionIntegrationsService.ts:93:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionIntegrationsService.ts:119:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionIntegrationsService.ts:133:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminIntegrationsService.ts:33:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminIntegrationsService.ts:48:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminIntegrationsService.ts:63:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminIrcService.ts:45:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminIrcService.ts:73:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminIrcService.ts:101:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminIrcService.ts:127:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminIrcService.ts:147:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminNebService.ts:58:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminNebService.ts:72:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminNebService.ts:93:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminNebService.ts:112:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminSlackService.ts:67:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminSlackService.ts:85:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminSlackService.ts:104:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionStickerService.ts:104:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionStickerService.ts:131:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminStickerService.ts:56:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminTelegramService.ts:78:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminTelegramService.ts:107:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminUpstreamService.ts:49:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminWebhooksService.ts:70:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/admin/AdminWebhooksService.ts:97:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionGitterService.ts:24:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionGitterService.ts:38:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionGitterService.ts:53:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionIrcService.ts:25:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionIrcService.ts:41:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionIrcService.ts:57:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionSlackService.ts:26:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionSlackService.ts:41:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionSlackService.ts:56:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionSlackService.ts:74:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionSlackService.ts:86:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionSlackService.ts:101:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionTelegramService.ts:31:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionTelegramService.ts:55:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionTelegramService.ts:78:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionWebhooksService.ts:60:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionWebhooksService.ts:69:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/dimension/DimensionWebhooksService.ts:78:50
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/matrix/MatrixAccountService.ts:31:15
    TS2322: Type 'User' is not assignable to type 'ILoggedInUser'.

ERROR in [at-loader] ./src/api/matrix/MatrixAccountService.ts:39:45
    TS2345: Argument of type 'User' is not assignable to parameter of type 'ILoggedInUser'.

ERROR in [at-loader] ./src/api/matrix/MatrixTermsService.ts:33:54
    TS2345: Argument of type 'User' is not assignable to parameter of type 'ILoggedInUser'.

ERROR in [at-loader] ./src/api/scalar/ScalarService.ts:48:52
    TS2339: Property 'userId' does not exist on type 'User'.

ERROR in [at-loader] ./src/api/scalar/ScalarService.ts:61:54
    TS2345: Argument of type 'User' is not assignable to parameter of type 'ILoggedInUser'.
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
    [0] ./node_modules/html-webpack-plugin/lib/loader.js!./web/public/index.html 3.58 KiB {0} [built]
        factory:45ms building:531ms = 576ms
    [2] (webpack)/buildin/global.js 472 bytes {0} [built]
        [0] 576ms -> [1] 12736ms -> factory:75ms building:1ms = 13388ms
    [3] (webpack)/buildin/module.js 497 bytes {0} [built]
        [0] 576ms -> [1] 12736ms -> factory:75ms building:1ms = 13388ms
        + 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js!node_modules/sass-loader/dist/cjs.js!web/style/app.scss:
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src!./node_modules/sass-loader/dist/cjs.js!./web/style/app.scss 189 KiB {0} [built]
        factory:273ms building:9852ms = 10125ms
    [3] ./web/public/fonts/opensans100-roboto300.ttf 111 bytes {0} [built]
        [0] 10125ms -> factory:4ms building:88ms = 10217ms
        + 2 hidden modules
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! matrix-dimension@1.0.0 build:web: `rimraf build/web && webpack --mode production --progress --profile --bail`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the matrix-dimension@1.0.0 build:web 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/2020-08-11T14_07_43_231Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! matrix-dimension@1.0.0 build: `npm run-script build:web && npm run-script build:app`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the matrix-dimension@1.0.0 build 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/2020-08-11T14_07_43_246Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! matrix-dimension@1.0.0 start:app: `npm run-script build && node build/app/index.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the matrix-dimension@1.0.0 start:app 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/2020-08-11T14_07_43_258Z-debug.log
turt2live commented 4 years ago

Please use the room for support.