You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
like mentioned in our README under "Development Internals"
So far so good, no issue. Anyhow, afterwards npm run build does not work and fails since some time. See below the error
> build
> tsc -b && npm run build -w packages/browser-bundle
node_modules/bl/node_modules/@types/readable-stream/index.d.ts:355:9 - error TS2416: Property 'pipe' in type 'Duplex' is not assignable to the same property in base type '_Writable'.
Type '<S extends _IWritable>(dest: S, pipeOpts?: { end?: boolean | undefined; } | undefined) => S' is not assignable to type '<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; } | undefined) => T'.
Types of parameters 'dest' and 'destination' are incompatible.
Type 'T' is not assignable to type '_IWritable'.
Type 'WritableStream' is not assignable to type '_IWritable'.
The types returned by 'end(...)' are incompatible between these types.
Type 'void' is not assignable to type '_IWritable'.
355 pipe<S extends _IWritable>(dest: S, pipeOpts?: { end?: boolean | undefined }): S;
~~~~
node_modules/mqtt/node_modules/@types/readable-stream/index.d.ts:355:9 - error TS2416: Property 'pipe' in type 'Duplex' is not assignable to the same property in base type '_Writable'.
Type '<S extends _IWritable>(dest: S, pipeOpts?: { end?: boolean | undefined; } | undefined) => S' is not assignable to type '<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; } | undefined) => T'.
Types of parameters 'dest' and 'destination' are incompatible.
Type 'T' is not assignable to type '_IWritable'.
Type 'WritableStream' is not assignable to type '_IWritable'.
The types returned by 'end(...)' are incompatible between these types.
Type 'void' is not assignable to type '_IWritable'.
355 pipe<S extends _IWritable>(dest: S, pipeOpts?: { end?: boolean | undefined }): S;
~~~~
packages/examples/src/bindings/coap/example-client.ts:17:35 - error TS2307: Cannot find module '@node-wot/binding-coap' or its corresponding type declarations.
17 import { CoapClientFactory } from "@node-wot/binding-coap";
~~~~~~~~~~~~~~~~~~~~~~~~
packages/examples/src/bindings/coap/example-server.ts:17:28 - error TS2307: Cannot find module '@node-wot/binding-coap' or its corresponding type declarations.
17 import { CoapServer } from "@node-wot/binding-coap";
~~~~~~~~~~~~~~~~~~~~~~~~
packages/examples/src/quickstart/presence-sensor.ts:20:34 - error TS2307: Cannot find module '@node-wot/binding-mqtt' or its corresponding type declarations.
20 import { MqttBrokerServer } from "@node-wot/binding-mqtt";
~~~~~~~~~~~~~~~~~~~~~~~~
packages/examples/src/quickstart/smart-clock.ts:19:28 - error TS2307: Cannot find module '@node-wot/binding-coap' or its corresponding type declarations.
19 import { CoapServer } from "@node-wot/binding-coap";
~~~~~~~~~~~~~~~~~~~~~~~~
Found 6 errors.
While working on #1291 I tried to update all dependencies.
Essentially I did the following:
package-lock.jsonfilenode_modulesfolders etc.)npm installnpm dedupe(see chore: increase version to 0.8.2 and fix TD&TM dependency issues #765 (comment))like mentioned in our README under "Development Internals"
So far so good, no issue. Anyhow, afterwards
npm run builddoes not work and fails since some time. See below the error