emmanuel-bv / iotedge-iva-nano

Quickstart to deploy an Intelligent Video Analytics application running at the edge over multiple cameras and with custom AI models.
45 stars 19 forks source link

Error when building IoTCentralBridge Module #49

Open Y07yoyo opened 3 years ago

Y07yoyo commented 3 years ago

Hi @ebertrams and @sseiber,

I have been using this module for a few different use cases, I am working on one now but I am now having issues building the docker for this.

When I have gone back to my older use cases and tried to rebuild those dockers I am getting this new error again. This was not there previously when I was building the dockers so I am not sure what this issue is. I am hoping you can help me as I urgently need this docker built:

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN lifecycle iot-central-bridge@0.0.50~postinstall: cannot run in wd iot-central-bridge@0.0.50 node ./scripts/setupDevEnvironment.js (wd=/app) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^2.1.2 (node_modules/jest-haste-map/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 764 packages from 586 contributors and audited 766 packages in 81.746s

30 packages are looking for funding run npm fund for details

found 0 vulnerabilities

node_modules/@types/hapihapi/index.d.ts(256,18): error TS2430: Interface 'RequestEvents' incorrectly extends interface 'Podium'. Types of property 'on' are incompatible. Type '{ (criteria: "peek", listener: PeekListener): void; (criteria: "finish" | "disconnect", listener: (data: undefined) => void): void; }' is not assignable to type '(criteria: string | CriteriaObject, listener: Listener, context?: Tcontext) => this'. Types of parameters 'listener' and 'listener' are incompatible. Types of parameters 'tags' and 'encoding' are incompatible. Type 'string' is not assignable to type '{ [tag: string]: true; }'. node_modules/@types/hapi__hapi/index.d.ts(629,18): error TS2430: Interface 'ResponseEvents' incorrectly extends interface 'Podium'. Types of property 'on' are incompatible. Type '{ (criteria: "peek", listener: PeekListener): void; (criteria: "finish", listener: (data: undefined) => void): void; }' is not assignable to type '(criteria: string | CriteriaObject, listener: Listener, context?: Tcontext) => this'. Types of parameters 'listener' and 'listener' are incompatible. Types of parameters 'tags' and 'encoding' are incompatible. Type 'string' is not assignable to type '{ [tag: string]: true; }'. node_modules/@types/hapihapi/index.d.ts(2359,43): error TS2314: Generic type 'Listener' requires 1 type argument(s). node_modules/@types/hapi__hapi/index.d.ts(2377,18): error TS2430: Interface 'ServerEvents' incorrectly extends interface 'Podium'. The types returned by 'on(...)' are incompatible between these types. Type 'void' is not assignable to type 'this'. 'this' could be instantiated with an arbitrary type which could be unrelated to 'void'. node_modules/@types/hapi__hapi/index.d.ts(2443,44): error TS2314: Generic type 'Listener' requires 1 type argument(s). The command '/bin/sh -c npm install -q && ./node_modules/typescript/bin/tsc -p . && ./node_modules/tslint/bin/tslint -p ./tsconfig.json && npm prune --production && rm -f tslint.json && rm -f tsconfig.json && rm -rf src' returned a non-zero code: 2

Y07yoyo commented 3 years ago

Hi @ebertrams and @sseiber , Any update on this?

Kind Regards,

Yusuf

Y07yoyo commented 3 years ago

Hi @ebertrams or @sseiber,

Can you please let me know if you are able to help me with this error?

Kind Regards,

Yusuf

emmanuel-bv commented 3 years ago

Hi @Y07yoyo,

Apologies for the delay. I unfortunately do not have the bandwidth right now to look into this.

@sseiber , Are you able to help @Y07yoyo ?

Thanks!

Y07yoyo commented 3 years ago

Hi @sseiber,

If you can help please let me know

Kind Regards,

Yusuf