# Warnings are shown while doing npm run build

**URL:** <https://forum.genieacs.com/t/warnings-are-shown-while-doing-npm-run-build/2354>\
**Category:** Uncategorized\
**Created:** [January 25, 2022, 5:12pm UTC](https://forum.genieacs.com/t/warnings-are-shown-while-doing-npm-run-build/2354 "2022-01-25T17:12:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumar](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kumar](https://forum.genieacs.com/u/Kumar)\
**Post date:** [January 25, 2022, 5:12pm UTC](https://forum.genieacs.com/t/warnings-are-shown-while-doing-npm-run-build/2354/1 "2022-01-25T17:12:10Z")

</div>

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’.**
