build fails due to errors in node_modules/@types/lodash/index.d.ts
successful build
Steps to reproduce:
[14:33:28] build started ...
[14:33:28] template update started ...
[14:33:28] template update finished in 332 ms
[14:33:28] transpile update started ...
[14:33:28] transpile update finished in 67 ms
[14:33:28] webpack update started ...
[14:33:38] webpack update finished in 9.61 s
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
']' expected.
L11443: isArrayLike<T>(value?: any): value is T[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
';' expected.
L11443: isArrayLike<T>(value?: any): value is T[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
Declaration or statement expected.
L11443: isArrayLike<T>(value?: any): value is T[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
']' expected.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19441
L11443: isArrayLike<T>(value?: any): value is T[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 244
')' expected.
L11443: isArrayLike<T>(value?: any): value is T[];
Declaration or statement expected.
L11443: isArrayLike<T>(value?: any): value is T[];
Declaration or statement expected.
L11443: isArrayLike<T>(value?: any): value is T[];
Declaration or statement expected.
Duplicate identifier '_'.
L243: * @see _.compact
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 244
L245: compact<TResult>(): LoDashImplicitArrayWrapper<TResult>;
Cannot find namespace '_'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 246
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 248
L243: * @see _.compact
L245: compact<TResult>(): LoDashImplicitArrayWrapper<TResult>;
Cannot find name 'Partial'.
L245: compact<TResult>(): LoDashImplicitArrayWrapper<TResult>;
Duplicate identifier '_'.
L248: interface LoDashExplicitArrayWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 366
Cannot find namespace '_'.
L365: values2?: List<T>,
L366: iteratee?: ((value: T) => any)|string
L367: ): T[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 2083
Cannot find namespace '_'.
L2083: * @see _.join
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5585
Cannot find namespace '_'.
L5585: tap(
L5586: interceptor: (value: T) => void
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5592
Cannot find namespace '_'.
L5592: * @see _.tap
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5599
Cannot find namespace '_'.
L5599: //_.thru
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5606
L5600: interface LoDashStatic {
Cannot find namespace '_'.
L5605: * @param interceptor The function to invoke.
L5606: * @param thisArg The this binding of interceptor.
L5607: * @return Returns the result of interceptor.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5639
Cannot find namespace '_'.
L5638: interceptor: (value: T) => TResult): LoDashImplicitObjectWrapper<TResult>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5648
Cannot find namespace '_'.
L5647: interface LoDashExplicitWrapperBase<T, TWrapper> {
L5649: * @see _.thru
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5655
Cannot find namespace '_'.
L5656: * @see _.thru
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5662
Cannot find namespace '_'.
L5663: * @see _.thru
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5671
Cannot find namespace '_'.
L5670: * @see _.thru
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5678
L5672: thru<TResult extends {}>(
Cannot find namespace '_'.
L5677: * @see _.thru
L5679: thru<TResult>(
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5685
Cannot find namespace '_'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5694
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5701
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5708
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5717
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5724
L5684: //_.prototype.commit
L5685: interface LoDashImplicitWrapperBase<T, TWrapper> {
Cannot find namespace '_'.
L5694: interface LoDashExplicitWrapperBase<T, TWrapper> {
Cannot find namespace '_'.
L5701: //_.prototype.concat
L5702: interface LoDashImplicitWrapperBase<T, TWrapper> {
Cannot find namespace '_'.
L5707: * @return Returns the new concatenated array.
L5709: concat<TItem>(...items: Array<Many<TItem>>): LoDashImplicitArrayWrapper<TItem>;
Cannot find namespace '_'.
L5717: interface LoDashExplicitWrapperBase<T, TWrapper> {
Cannot find namespace '_'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 5731
L5724: * @see _.concat
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
Cannot find namespace '_'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
L5730: interface LoDashImplicitWrapperBase<T, TWrapper> {
L5732: * Creates a clone of the chained sequence planting value as the wrapped value.
A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
L11443: isArrayLike<T>(value?: any): value is T[];
Cannot find name 'P'.
L11443: isArrayLike<T>(value?: any): value is T[];
Cannot find name 'keyof'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
L11443: isArrayLike<T>(value?: any): value is T[];
Cannot find name 'T'.
L11443: isArrayLike<T>(value?: any): value is T[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
A parameter initializer is only allowed in a function or constructor implementation.
L11443: isArrayLike<T>(value?: any): value is T[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
Cannot find name 'T'.
L11443: isArrayLike<T>(value?: any): value is T[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11444
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11453
Cannot find name 'boolean'.
L11443: isArrayLike<T>(value?: any): value is T[];
Cannot find name 'ConformsPredicateObject'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 11464
L11453: interface LoDashExplicitWrapperBase<T, TWrapper> {
Cannot find name 'ConformsPredicateObject'.
L11463: * This method is like `_.isArrayLike` except that it also checks if `value`
ect.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15394
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15403
Cannot find namespace '_'.
L15394: get<TResult>(
L15395: object: any,
Cannot find namespace '_'.
L15403: * @see _.get
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15436
Cannot find namespace '_'.
L15435: get<TResultWrapper>(
L15436: path: Many<StringRepresentable>,
L15437: defaultValue?: any
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15445
Cannot find namespace '_'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15480
L15445: get<TResultWrapper>(
L15446: path: Many<StringRepresentable>,
Cannot find namespace '_'.
L15480: * _.has(object, 'a.b.c');
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15489
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15522
L15481: * // => true
Cannot find namespace '_'.
L15489: has<T extends {}>(
L15490: object: T,
Cannot find namespace '_'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15531
L15522: * var object = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) });
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15564
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15571
Cannot find namespace '_'.
L15530: * _.hasIn(object, ['a', 'b', 'c']);
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15604
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15611
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15627
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15636
L15531: * // => true
Cannot find namespace '_'.
L15563: * @param multiValue Allow multiple values per key.
L15564: * @return Returns the new inverted object.
Cannot find namespace '_'.
L15572: * @see _.invert
Cannot find namespace '_'.
L15603: * @param object The object to invert.
L15604: * @param interatee The iteratee invoked per element.
L15605: * @return Returns the new inverted object.
Cannot find namespace '_'.
L15610: ): Dictionary<string[]>;
Cannot find name 'Many'.
L15626: ): Dictionary<string[]>;
Cannot find name 'Many'.
L15637: interface LoDashImplicitWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15646
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15656
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15666
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15676
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15686
Cannot find name 'Many'.
L15646: interface LoDashImplicitArrayWrapper<T> {
Cannot find name 'Many'.
L15655: * @see _.invertBy
L15657: invertBy<W>(
Cannot find name 'Many'.
15666: invertBy(
L15667: interatee?: InvertByIterator<any>|string
Cannot find name 'Many'.
L15675: ): LoDashImplicitObjectWrapper<Dictionary<string[]>>;
Cannot find name 'Many'.
L15687: interface LoDashExplicitArrayWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15696
Cannot find name 'Many'.
L15696: * @see _.invertBy
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15731
Cannot find name 'Many'.
L15732: interface LoDashImplicitObjectWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15739
Cannot find name 'Many'.
L15739: interface LoDashExplicitObjectWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15746
Cannot find name 'Many'.
15746: //_.keysIn
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15778
L15747: interface LoDashStatic {
Cannot find name 'Many'.
L15777: * by running each own enumerable property of object through iteratee.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15786
L15779: * @param object The object to iterate over.
Cannot find name 'Many'.
L15785: object: List<T>,
L15786: iteratee?: ListIterator<T, TKey>
L15787: ): Dictionary<T>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15793
Cannot find name 'Many'.
L15792: mapKeys<T, TKey>(
L15793: object: Dictionary<T>,
L15794: iteratee?: DictionaryIterator<T, TKey>
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15856
Cannot find namespace '_'.
L15855: mapKeys<TResult>(
L15856: iteratee?: string
L15857: ): LoDashImplicitObjectWrapper<Dictionary<TResult>>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15856
Cannot find namespace '_'.
L15855: mapKeys<TResult>(
L15856: iteratee?: string
L15857: ): LoDashImplicitObjectWrapper<Dictionary<TResult>>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 15872
Cannot find namespace '_'.
L15871: mapKeys<TObject extends {}>(
L15872: iteratee?: TObject
L15873: ): LoDashExplicitObjectWrapper<Dictionary<T>>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16533
Cannot find name 'Many'.
L16534: //_.set
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16543
Cannot find name 'Many'.
L16542: * @param path The path of the property to set.
L16543: * @param value The value to set.
L16544: * @return Returns object.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16553
Cannot find name 'Many'.
16553: * @see _.set
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16622
Cannot find name 'Many'.
16622: setWith<TResult>(
L16623: object: Object,
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16631
Cannot find name 'Many'.
L16630: * @see _.setWith
L16632: setWith<V, TResult>(
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16640
Cannot find name 'Many'.
16640: * @see _.setWith
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16700
Cannot find name 'Many'.
L16700: toPairs<T extends {}, TResult>(object?: T): TResult[][];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16709
Cannot find name 'Many'.
L16710: interface LoDashExplicitObjectWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16719
Cannot find name 'Many'.
L16718: interface LoDashStatic {
L16720: * Creates an array of own and inherited enumerable key-value pairs for object.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16729
Cannot find name 'Many'.
L16730: interface LoDashImplicitObjectWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16739
Cannot find name 'Many'.
L16739: * @see _.toPairsIn
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16749
Cannot find name 'Many'.
L16748: * running each of its own enumerable properties through iteratee, with each invocation potentially mutating
L16749: * the accumulator object. The iteratee is bound to thisArg and invoked with four arguments: (accumulator,
L16750: * value, key, object). Iteratee functions may exit iteration early by explicitly returning false.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16759
Cannot find name 'Many'.
L16758: transform<T, TResult>(
L16759: object: T[],
L16760: iteratee?: MemoVoidArrayIterator<T, TResult[]>,
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16769
Cannot find name 'Many'.
L16768: object: T[],
L16769: iteratee?: MemoVoidArrayIterator<T, Dictionary<TResult>>,
L16770: accumulator?: Dictionary<TResult>
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16788
Cannot find name 'Many'.
L16787: iteratee?: MemoVoidDictionaryIterator<T, TResult[]>,
L16788: accumulator?: TResult[]
L16789: ): TResult[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16797
Cannot find name 'Many'.
L16796: transform<TResult>(
L16797: iteratee?: MemoVoidArrayIterator<T, TResult[]>,
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16806
L16798: accumulator?: TResult[]
Cannot find name 'Many'.
L16805: iteratee?: MemoVoidArrayIterator<T, Dictionary<TResult>>,
L16806: accumulator?: Dictionary<TResult>
L16807: ): LoDashImplicitObjectWrapper<Dictionary<TResult>>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16816
Cannot find name 'Many'.
L16815: iteratee?: MemoVoidDictionaryIterator<T, Dictionary<TResult>>,
L16816: accumulator?: Dictionary<TResult>
L16817: ): LoDashImplicitObjectWrapper<Dictionary<TResult>>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16824
Cannot find name 'Many'.
L16823: iteratee?: MemoVoidDictionaryIterator<T, TResult[]>,
L16824: accumulator?: TResult[]
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16834
L16825: ): LoDashImplicitArrayWrapper<TResult>;
Cannot find name 'Many'.
L16833: * Note: This method mutates object.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16842
L16835: * @param object The object to modify.
Cannot find name 'Many'.
L16841: path: Many<StringRepresentable>
L16842: ): boolean;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16864
Cannot find name 'Many'.
L16863: * customize path creation. The updater is invoked with one argument: (value).
L16865: * @param object The object to modify.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16874
Cannot find name 'Many'.
L16873: updater: Function
L16874: ): TResult;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16884
Cannot find name 'Many'.
L16883: ): TResult;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16895
Cannot find name 'Many'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16904
L16895: * @see _.update
Cannot find name 'Many'.
L16904: interface LoDashImplicitObjectWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16915
Cannot find name 'Many'.
L16914: * @see _.update
L16916: update<U extends Function, TResult>(
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 16924
Cannot find name 'Many'.
L16924: * @see _.update
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17081
Cannot find name 'Many'.
L17082: interface LoDashExplicitWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17089
Cannot find name 'Many'.
17089: //_.deburr
L17090: interface LoDashStatic {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17096
Cannot find name 'Many'.
L17095: * @param string The string to deburr.
L17096: * @return Returns the deburred string.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17112
Cannot find name 'Many'.
L17112: deburr(): LoDashExplicitWrapper<string>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17121
Cannot find name 'Many'.
L17120: * @param string The string to search.
L17121: * @param target The string to search for.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17130
L17122: * @param position The position to search from.
Cannot find name 'Many'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17139
L17129: ): boolean;
Cannot find name 'Many'.
L17138: position?: number
L17139: ): boolean;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17149
Cannot find name 'Many'.
L17148: position?: number
L17149: ): LoDashExplicitWrapper<boolean>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17157
Cannot find name 'Many'.
L17157: * Note: No other characters are escaped. To escape additional characters use a third-party library like he.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17167
Cannot find name 'Many'.
L17166: * When working with HTML you should always quote attribute values to reduce XSS vectors.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17175
L17168: * @param string The string to escape.
Cannot find name 'Many'.
L17174: interface LoDashImplicitWrapper<T> {
L17176: * @see _.escape
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 17926
Cannot find name 'TemplateSettings'.
L17925: * in string to their corresponding characters.
L17927: * Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18546
Cannot find name 'Many'.
L18545: * @see _.noConflict
L18547: noConflict(): typeof _;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18554
Cannot find name 'Many'.
L18554: noConflict(): LoDashExplicitObjectWrapper<typeof _>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18676
Cannot find name 'Many'.
L18676: overEvery(...predicates: Array<Many<Function>>): LoDashExplicitObjectWrapper<(...args: any[]) => boolean
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18684
Cannot find name 'Many'.
L18683: overEvery(...predicates: Array<Many<Function>>): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18693
Cannot find name 'Many'.
L18692: * @param predicates The predicates to check.
18693: * @return Returns the new function.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18702
Cannot find name 'Many'.
L18702: overSome(...predicates: Array<Many<Function>>): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18818
Cannot find namespace '_'.
L18818: interface LoDashImplicitWrapper<T> {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18855
Cannot find name 'Many'.
L18854: * // => [3, 2, 1, 0]
L18856: * _.rangeRight(-4);
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18862
Cannot find name 'Many'.
18862: * _.rangeRight(0, 20, 5);
L18863: * // => [15, 10, 5, 0]
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18869
Cannot find name 'Many'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18876
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18883
L18868: * _.rangeRight(1, 4, 0);
18869: * // => [1, 1, 1]
Cannot find name 'Many'.
L18875: start: number,
18876: end: number,
L18877: step?: number
Cannot find name 'Many'.
18883: rangeRight(
L18884: end: number,
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18895
Cannot find name 'Many'.
L18894: end?: number,
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18902
18895: step?: number
L18896: ): LoDashImplicitArrayWrapper<number>;
Cannot find name 'Many'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18909
L18901: * @see _.rangeRight
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18916
L18903: rangeRight(
Cannot find name 'Many'.
18909: //_.runInContext
L18910: interface LoDashStatic {
Cannot find name 'Many'.
L18915: * @return Returns a new lodash function.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18923
L18917: runInContext(context?: Object): typeof _;
Cannot find name 'Many'.
L18922: * @see _.runInContext
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18935
L18924: runInContext(): typeof _;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18942
Cannot find name 'Many'.
L18934: stubArray(): any[];
Cannot find name 'Many'.
L18941: stubArray(): any[];
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18949
Cannot find name 'Many'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18956
L18948: stubArray(): _.LoDashExplicitArrayWrapper<any>;
Cannot find name 'Many'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18963
18956: * @returns Returns `false`.
Cannot find name 'Many'.
18963: * @see _.stubFalse
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 18974
Cannot find name 'Many'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19014
L18975: interface LoDashStatic {
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19021
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19028
Cannot find name 'Many'.
L19014: interface LoDashExplicitWrapperBase<T, TWrapper> {
Cannot find name 'Many'.
19021: interface LoDashStatic {
Cannot find name 'Many'.
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19188
L19027: stubTrue(): boolean;
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19212
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19235
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19258
[14:34:24] typescript: node_modules/@types/lodash/index.d.ts, line: 19281
Cannot find namespace '_'.
L19189: interface NumericDictionary<T> {
Cannot find namespace '_'.
Cannot find namespace '_'.
Cannot find namespace '_'.
Cannot find namespace '_'.
[14:34:24] build finished in 55.77 s
Which @ionic/app-scripts version are you using?
Alexs-MacBook-Pro:boss811.mobile alexryltsov$ ionic info
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.6
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.2
Xcode version: Xcode 8.2.1 Build version 8C1002
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
The current workaround for me is to run npm uninstall @types/lodash --save-dev
I had the same issue and solved it by installing typescript 2.0 compatible types.
Use this in your package.json:
"@types/lodash": "ts2.0",
The latest lodash uses typescript 2.1 which is not compatible with ionic right now which uses ts 2.0 still.
You could also just not use types for now. Either way works.
I'm going to close this issue as there's no action to take here from Ionic. We can't use TS 2.1 yet because Angular AoT doesn't support it yet.
Thanks,
Dan
@arendjantetteroo thanks you very much, your suggestion seems to be working fine
@danbucholtz the problem is that it gets added as a dependency as soon as I try to add smth.. so i have to constantly remove it.
@arendjantetteroo Thanks, work fine with the nativescript update too!
arendjantetteroo: Thanks for the suggestion and details. Its worked for me.
Use this in your package.json:
"@types/lodash": "ts2.0",
This is what worked for me
npm install @types/[email protected] --save-dev --save-exact
@arendjantetteroo - thanks a lot! That fixed my problem, too!
Apparently the package @types/[email protected] points to v.4.14.61, I worked installing v.4.14.50
npm install @types/[email protected] --save
@arendjantetteroo Thanks man! Its worked
@xindexer thanks!! worked for me
Thanks @arendjantetteroo, it worked like a charm!!
Most helpful comment
I had the same issue and solved it by installing typescript 2.0 compatible types.
Use this in your package.json:
"@types/lodash": "ts2.0",
The latest lodash uses typescript 2.1 which is not compatible with ionic right now which uses ts 2.0 still.