Article: Getting compilation error while running the End User Search Assist Web-SDK while running locally

Getting compilation error while running the End User Search Assist Web-SDK while running locally

error#
Compiled with problems:X

ERROR in ./src/templatemanager/templates/button/buttonTemplate.ts (/home/Bharadwaj.Adapala/UI Repos/SDK Bussiness DEV/web-kore-sdk/src/templatemanager/templates/button/buttonTemplate.ts) 79:39-76

[tsl] ERROR in /home/Bharadwaj.Adapala/UI Repos/SDK Bussiness DEV/web-kore-sdk/src/templatemanager/templates/button/buttonTemplate.ts(79,40)

  TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.

ERROR in ./src/templatemanager/templates/button/buttonTemplate.ts (/home/Bharadwaj.Adapala/UI Repos/SDK Bussiness DEV/web-kore-sdk/src/templatemanager/templates/button/buttonTemplate.ts) 80:36-72

[tsl] ERROR in /home/Bharadwaj.Adapala/UI Repos/SDK Bussiness DEV/web-kore-sdk/src/templatemanager/templates/button/buttonTemplate.ts(80,37)

  TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.

ERROR in ./src/templatemanager/templates/listTemplate/listTemplate.ts (/home/Bharadwaj.Adapala/UI Repos/SDK Bussiness DEV/web-kore-sdk/src/templatemanager/templates/listTemplate/listTemplate.ts) 77:39-76

[tsl] ERROR in /home/Bharadwaj.Adapala/UI Repos/SDK Bussiness DEV/web-kore-sdk/src/templatemanager/templates/listTemplate/listTemplate.ts(77,40)

  TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.

#Solution#
In **tsconfig.json,
Please uncomment “resolveJsonModule”: true, and make the property “noImplicitAny”: true;