Warnings are shown while doing npm run build

Observing below warnings suddenly while doing “npm run build” after npm install

Any idea about the below error???

@rollup/plugin-typescript TS2339: Property ‘slice’ does not exist on type ‘ObjectId’.

@rollup/plugin-typescript TS2352: Conversion of type ‘WithId’ to type ‘SessionFault’ may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to ‘unknown’ first.

Type ‘WithId’ is missing the following properties from type ‘SessionFault’: timestamp, provisions, code, message

@rollup/plugin-typescript TS2322: Type ‘string’ is not assignable to type ‘ObjectId’.

@rollup/plugin-typescript TS2352: Conversion of type ‘WithId’ to type ‘Task’ may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to ‘unknown’ first.

Property ‘name’ is missing in type ‘WithId’ but required in type ‘Task’.

@rollup/plugin-typescript TS2339: Property ‘slice’ does not exist on type ‘ObjectId’.

@rollup/plugin-typescript TS2352: Conversion of type ‘WithId’ to type ‘Operation’ may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to ‘unknown’ first.

Type ‘WithId’ is missing the following properties from type ‘Operation’: name, timestamp, provisions, channels, and 2 more.

@rollup/plugin-typescript TS2352: Conversion of type ‘WithId’ to type ‘Operation’ may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to ‘unknown’ first.

@rollup/plugin-typescript TS2322: Type ‘{ id: ObjectId; value: Expression; }[]’ is not assignable to type ‘{ id: string; value: Expression; }[]’.

Type ‘{ id: ObjectId; value: Expression; }’ is not assignable to type ‘{ id: string; value: Expression; }’.

Types of property ‘id’ are incompatible.

Type ‘ObjectId’ is not assignable to type ‘string’.