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
node_modules libraries throwing build issues with skipLibCheck to false in angular 11 project
Attached the sample project
Errors are as below when I try to run the application with npm start
Error: node_modules/@swim/client/lib/main/downlink/ListDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'ListDownlinkRecord' as an accessor.
8 get downlink(): ListDownlink<Value, AnyValue>;
~~~~~~~~
Error: node_modules/@swim/client/lib/main/downlink/MapDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'MapDownlinkRecord' as an accessor.
8 get downlink(): MapDownlink<Value, Value, AnyValue, AnyValue>;
~~~~~~~~
Error: node_modules/@swim/client/lib/main/downlink/ValueDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'ValueDownlinkRecord' as an accessor.
8 get downlink(): ValueDownlink<Value, AnyValue>;
~~~~~~~~
Error: node_modules/@swim/font/lib/main/Font.d.ts:56:481 - error TS2307: Cannot find module '../../length/main' or its corresponding type declarations.
Error: node_modules/@swim/font/lib/main/Font.d.ts:56:562 - error TS2307: Cannot find module '../../length/main' or its corresponding type declarations.
Error: node_modules/@swim/style/lib/main/StyleValue.d.ts:21:204 - error TS2307: Cannot find module '../../../../swim-core-js/@swim/time/main' or its corresponding type declarations.
Error: node_modules/@swim/style/lib/main/StyleValue.d.ts:21:277 - error TS2307: Cannot find module '../../font/main' or its corresponding type declarations.
The text was updated successfully, but these errors were encountered:
bashasm
changed the title
build issues when I set skipLibCheck to false in angular 11 project
node_modules libraries throwing build issues with skipLibCheck to false in angular 11 project
Mar 30, 2021
node_modules libraries throwing build issues with
skipLibCheck to false
in angular 11 projectAttached the sample project
Errors are as below when I try to run the application with
npm start
Error: node_modules/@swim/client/lib/main/downlink/ListDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'ListDownlinkRecord' as an accessor.
8 get downlink(): ListDownlink<Value, AnyValue>;
~~~~~~~~
Error: node_modules/@swim/client/lib/main/downlink/MapDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'MapDownlinkRecord' as an accessor.
8 get downlink(): MapDownlink<Value, Value, AnyValue, AnyValue>;
~~~~~~~~
Error: node_modules/@swim/client/lib/main/downlink/ValueDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'ValueDownlinkRecord' as an accessor.
8 get downlink(): ValueDownlink<Value, AnyValue>;
~~~~~~~~
Error: node_modules/@swim/font/lib/main/Font.d.ts:56:481 - error TS2307: Cannot find module '../../length/main' or its corresponding type declarations.
56 static from(style: "normal" | "italic" | "oblique" | null | undefined, variant: "normal" | "small-caps" | null | undefined, weight: "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "bold" | "bolder" | "lighter" | null | undefined, stretch: "normal" | "ultra-condensed" | "extra-condensed" | "semi-condensed" | "condensed" | "expanded" | "semi-expanded" | "extra-expanded" | "ultra-expanded" | null | undefined, size: string | number | import("../../length/main").Length | null | undefined, height: string | number | import("../../length/main").Length | null | undefined, family: FontFamily | ReadonlyArray): Font;
~~~~~~~~~~~~~~~~~~~
Error: node_modules/@swim/font/lib/main/Font.d.ts:56:562 - error TS2307: Cannot find module '../../length/main' or its corresponding type declarations.
56 static from(style: "normal" | "italic" | "oblique" | null | undefined, variant: "normal" | "small-caps" | null | undefined, weight: "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "bold" | "bolder" | "lighter" | null | undefined, stretch: "normal" | "ultra-condensed" | "extra-condensed" | "semi-condensed" | "condensed" | "expanded" | "semi-expanded" | "extra-expanded" | "ultra-expanded" | null | undefined, size: string | number | import("../../length/main").Length | null | undefined, height: string | number | import("../../length/main").Length | null | undefined, family: FontFamily | ReadonlyArray): Font;
~~~~~~~~~~~~~~~~~~~
Error: node_modules/@swim/style/lib/main/StyleValue.d.ts:21:204 - error TS2307: Cannot find module '../../../../swim-core-js/@swim/time/main' or its corresponding type declarations.
21 form(unit?: string | number | boolean | BoxShadow | Length | Color | BoxShadowInit | import("./BoxShadow").BoxShadowArray | RgbColorInit | HslColorInit | DateTime | Angle | Font | Transform | import("../../../../swim-core-js/@swim/time/main").DateTimeInit | Date | import("../../font/main").FontInit | Interpolator<any, any> | Scale<any, any, any, any> | Transition | TransitionInit | TransitionInit | undefined): Form<StyleValue, AnyStyleValue>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: node_modules/@swim/style/lib/main/StyleValue.d.ts:21:277 - error TS2307: Cannot find module '../../font/main' or its corresponding type declarations.
21 form(unit?: string | number | boolean | BoxShadow | Length | Color | BoxShadowInit | import("./BoxShadow").BoxShadowArray | RgbColorInit | HslColorInit | DateTime | Angle | Font | Transform | import("../../../../swim-core-js/@swim/time/main").DateTimeInit | Date | import("../../font/main").FontInit | Interpolator<any, any> | Scale<any, any, any, any> | Transition | TransitionInit | TransitionInit | undefined): Form<StyleValue, AnyStyleValue>;
~~~~~~~~~~~~~~~~~
Error: ./node_modules/@swim/codec/lib/main/Format.js
Module not found: Error: Can't resolve 'os' in 'C:\Users\bshaik\Downloads\poc-swim-angular11\node_modules@swim\codec\lib\main'
poc-swim-angular11.zip
The text was updated successfully, but these errors were encountered: