npm run build is failing due to @types.lodash-es incompatabiity

Discussão em 'Angular' iniciado por Desu Sri Meghana, Março 3, 2025.

  1. 22:12:30 node_modules/@types/lodash/common/collection.d.ts(753,33): error TS2304: Cannot find name 'PropertyName'. 22:12:30 node_modules/@types/lodash/common/collection.d.ts(763,47): error TS2304: Cannot find name 'ObjectIterator'. 22:12:30 node_modules/@types/lodash/common/collection.d.ts(763,65): error TS2304: Cannot find name 'ListOfRecursiveArraysOrValues'. 22:12:30 node_modules/@types/lodash/common/collection.d.ts(763,117): error TS2304: Cannot find name 'PropertyName'. 22:12:30 node_modules/@types/lodash/common/collection.d.ts(767,33): error TS2304: Cannot find name 'PropertyName'. 22:12:30 node_modules/@types/lodash/common/collection.d.ts(786,48): error TS2304:

    these are the errors i'm facing in angular 7 typescript : 3.2.4 "lodash-es": "4.17.11", "@types/lodash-es": "4.17.1", "lodash": "4.17.11",

    i tried changing lodash-es versions as suggested through few online resources couldn't update typescript as it is the last compatible version for angular 7 can someone suggest a solution

    Continue reading...

Compartilhe esta Página