Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49087

Problems to compile on new installation

$
0
0

Hi, today I have changed my computer and I have intalled:

Node v10.23.1
Ionic
Cordova

Then I have cloned my repo and I made:

npm install
ionic cordova platform add android@8.1.0

The when I do “ionic cordova build android” when the process reach transpile returns this error:

[12:08:39]  transpile started ... 
[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 3 
            '{' or ';' expected. 

       L2:  /** An alias of `assert.ok()`. */
       L3:  function assert(value: any, message?: string | Error): asserts value;
       L4:  namespace assert {

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 57 
            '{' or ';' expected. 

      L56:  ): never;
      L57:  function ok(value: any, message?: string | Error): asserts value;
      L58:  /** @deprecated since v9.9.0 - use strictEqual() instead. */

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 66 
            '{' or ';' expected. 

      L65:  function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
      L66:  function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 66 
            ';' expected. 

      L65:  function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
      L66:  function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 66 
            ';' expected. 

      L65:  function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
      L66:  function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 68 
            '{' or ';' expected. 

      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
      L68:  function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L69:  function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 68 
            ';' expected. 

      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
      L68:  function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L69:  function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 68 
            ';' expected. 

      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
      L68:  function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L69:  function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 76 
            '{' or ';' expected. 

      L76:          function ifError(value: any): asserts value is null | undefined;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 76 
            ';' expected. 

      L76:          function ifError(value: any): asserts value is null | undefined;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 76 
            ';' expected. 

      L76:          function ifError(value: any): asserts value is null | undefined;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 106 
            ';' expected. 

     L105:  > & {
     L106:      (value: any, message?: string | Error): asserts value;
     L107:      equal: typeof strictEqual;

[12:08:44]  typescript: node_modules/@types/node/base.d.ts, line: 10 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/base.d.ts, line: 11 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/base.d.ts, line: 12 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/base.d.ts, line: 13 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/ts3.4/base.d.ts, line: 10 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/ts3.4/base.d.ts, line: 11 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/ts3.4/base.d.ts, line: 12 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/ts3.4/base.d.ts, line: 13 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/ts3.6/base.d.ts, line: 10 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/ts3.6/base.d.ts, line: 11 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/ts3.6/base.d.ts, line: 12 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/ts3.6/base.d.ts, line: 13 
            Invalid 'reference' directive syntax. 


[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 144 
            '{' or ';' expected. 

     L143:      object: T | {},
     L144:  ): object is T extends ReadonlyMap<any, any>
     L145:      ? unknown extends T

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 145 
            '(' expected. 

     L144:  ): object is T extends ReadonlyMap<any, any>
     L145:      ? unknown extends T
     L146:          ? never

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 145 
            ',' expected. 

     L144:  ): object is T extends ReadonlyMap<any, any>
     L145:      ? unknown extends T
     L146:          ? never

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 148 
            '(' expected. 

     L147:          : ReadonlyMap<any, any>
     L148:      : Map<any, any>;
     L149:  function isMapIterator(object: any): boolean;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 148 
            '(' expected. 

     L147:          : ReadonlyMap<any, any>
     L148:      : Map<any, any>;
     L149:  function isMapIterator(object: any): boolean;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 158 
            '{' or ';' expected. 

     L157:      object: T | {},
     L158:  ): object is T extends ReadonlySet<any>
     L159:      ? unknown extends T

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 159 
            '(' expected. 

     L158:  ): object is T extends ReadonlySet<any>
     L159:      ? unknown extends T
     L160:          ? never

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 159 
            ',' expected. 

     L158:  ): object is T extends ReadonlySet<any>
     L159:      ? unknown extends T
     L160:          ? never

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 162 
            '(' expected. 

     L161:          : ReadonlySet<any>
     L162:      : Set<any>;
     L163:  function isSetIterator(object: any): boolean;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 162 
            '(' expected. 

     L161:          : ReadonlySet<any>
     L162:      : Set<any>;
     L163:  function isSetIterator(object: any): boolean;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 3 
            Cannot find name 'asserts'. 

       L2:  /** An alias of `assert.ok()`. */
       L3:  function assert(value: any, message?: string | Error): asserts value;
       L4:  namespace assert {

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 3 
            Cannot find name 'value'. 

       L2:  /** An alias of `assert.ok()`. */
       L3:  function assert(value: any, message?: string | Error): asserts value;
       L4:  namespace assert {

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 57 
            Cannot find name 'asserts'. 

      L56:  ): never;
      L57:  function ok(value: any, message?: string | Error): asserts value;
      L58:  /** @deprecated since v9.9.0 - use strictEqual() instead. */

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 57 
            Cannot find name 'value'. 

      L56:  ): never;
      L57:  function ok(value: any, message?: string | Error): asserts value;
      L58:  /** @deprecated since v9.9.0 - use strictEqual() instead. */

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 66 
            Cannot find name 'asserts'. 

      L65:  function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
      L66:  function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 66 
            Cannot find name 'actual'. 

      L65:  function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
      L66:  function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 66 
            Cannot find name 'is'. 

      L65:  function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
      L66:  function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 66 
            Cannot find name 'T'. 

      L65:  function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
      L66:  function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 68 
            Cannot find name 'asserts'. 

      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
      L68:  function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L69:  function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 68 
            Cannot find name 'actual'. 

      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
      L68:  function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L69:  function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 68 
            Cannot find name 'is'. 

      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
      L68:  function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L69:  function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 68 
            Cannot find name 'T'. 

      L67:  function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
      L68:  function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
      L69:  function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 76 
            Cannot find name 'asserts'. 

      L76:          function ifError(value: any): asserts value is null | undefined;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 76 
            Cannot find name 'value'. 

      L76:          function ifError(value: any): asserts value is null | undefined;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 76 
            Cannot find name 'is'. 

      L76:          function ifError(value: any): asserts value is null | undefined;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 76 
            Object is possibly 'null'. 

      L76:          function ifError(value: any): asserts value is null | undefined;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 76 
            Object is possibly 'undefined'. 

      L76:          function ifError(value: any): asserts value is null | undefined;

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 94 
            Cannot find name 'Omit'. 

      L94:          const strict: Omit<
      L95:              typeof assert,

[12:08:44]  typescript: node_modules/@types/node/assert.d.ts, line: 106 
            Cannot find name 'asserts'. 

     L105:  > & {
     L106:      (value: any, message?: string | Error): asserts value;
     L107:      equal: typeof strictEqual;

[12:08:44]  typescript: node_modules/@types/node/events.d.ts, line: 20 
            Cannot find name 'AsyncIterableIterator'. 

      L19:  function once(emitter: DOMEventTarget, event: string): Promise<any[]>;
      L20:  function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
      L21:  const captureRejectionSymbol: unique symbol;

[12:08:44]  typescript: node_modules/@types/node/fs.d.ts, line: 80 
            Property 'asyncIterator' does not exist on type 'SymbolConstructor'. 

      L80:          [Symbol.asyncIterator](): AsyncIterableIterator<Dirent>;

[12:08:44]  typescript: node_modules/@types/node/fs.d.ts, line: 80 
            Cannot find name 'AsyncIterableIterator'. 

      L80:          [Symbol.asyncIterator](): AsyncIterableIterator<Dirent>;

[12:08:44]  typescript: node_modules/@types/node/fs.d.ts, line: 2222 
            Cannot find name 'bigint'. 

    L2222:      export interface BigIntStats extends StatsBase<bigint> {

[12:08:44]  typescript: node_modules/@types/node/fs.d.ts, line: 2226 
            Cannot find name 'bigint'. 

    L2225:  export class BigIntStats {
    L2226:      atimeNs: bigint;
    L2227:      mtimeNs: bigint;

[12:08:44]  typescript: node_modules/@types/node/fs.d.ts, line: 2227 
            Cannot find name 'bigint'. 

    L2226:  atimeNs: bigint;
    L2227:  mtimeNs: bigint;
    L2228:  ctimeNs: bigint;

[12:08:44]  typescript: node_modules/@types/node/fs.d.ts, line: 2228 
            Cannot find name 'bigint'. 

    L2227:  mtimeNs: bigint;
    L2228:  ctimeNs: bigint;
    L2229:  birthtimeNs: bigint;

[12:08:44]  typescript: node_modules/@types/node/fs.d.ts, line: 2229 
            Cannot find name 'bigint'. 

    L2228:      ctimeNs: bigint;
    L2229:      birthtimeNs: bigint;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 114 
            Cannot find name 'SharedArrayBuffer'. 

     L113:  constructor(arrayBuffer: ArrayBuffer | SharedArrayBuffer);
     L115:   * Allocates a new buffer containing the given {array} of octets.

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 137 
            Cannot find name 'SharedArrayBuffer'. 

     L136:  static from(arrayBuffer: WithImplicitCoercion<ArrayBuffer | SharedArrayBuffer>, byteOffset?: number, length?: number): Buffer;
     L138:   * Creates a new Buffer using the passed {data}

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 176 
            Cannot find name 'SharedArrayBuffer'. 

     L175:      string: string | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer,
     L176:      encoding?: BufferEncoding                 
     L177:  ): number;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 255 
            Cannot find name 'bigint'. 

     L254:  writeBigInt64BE(value: bigint, offset?: number): number;
     L255:  writeBigInt64LE(value: bigint, offset?: number): number;
     L256:  writeBigUInt64BE(value: bigint, offset?: number): number;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 256 
            Cannot find name 'bigint'. 

     L255:  writeBigInt64LE(value: bigint, offset?: number): number;
     L256:  writeBigUInt64BE(value: bigint, offset?: number): number;
     L257:  writeBigUInt64LE(value: bigint, offset?: number): number;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 257 
            Cannot find name 'bigint'. 

     L256:  writeBigUInt64BE(value: bigint, offset?: number): number;
     L257:  writeBigUInt64LE(value: bigint, offset?: number): number;
     L258:  writeUIntLE(value: number, offset: number, byteLength: number): number;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 258 
            Cannot find name 'bigint'. 

     L257:  writeBigUInt64LE(value: bigint, offset?: number): number;
     L258:  writeUIntLE(value: number, offset: number, byteLength: number): number;
     L259:  writeUIntBE(value: number, offset: number, byteLength: number): number;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 263 
            Cannot find name 'bigint'. 

     L262:  readBigUInt64BE(offset?: number): bigint;
     L263:  readBigUInt64LE(offset?: number): bigint;
     L264:  readBigInt64BE(offset?: number): bigint;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 264 
            Cannot find name 'bigint'. 

     L263:  readBigUInt64LE(offset?: number): bigint;
     L264:  readBigInt64BE(offset?: number): bigint;
     L265:  readBigInt64LE(offset?: number): bigint;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 265 
            Cannot find name 'bigint'. 

     L264:  readBigInt64BE(offset?: number): bigint;
     L265:  readBigInt64LE(offset?: number): bigint;
     L266:  readUIntLE(offset: number, byteLength: number): number;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 266 
            Cannot find name 'bigint'. 

     L265:  readBigInt64LE(offset?: number): bigint;
     L266:  readUIntLE(offset: number, byteLength: number): number;
     L267:  readUIntBE(offset: number, byteLength: number): number;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 454 
            Property 'asyncIterator' does not exist on type 'SymbolConstructor'. 

     L453:          [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 454 
            Cannot find name 'AsyncIterableIterator'. 

     L453:          [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 562 
            Cannot find name 'BigUint64Array'. 

     L561:  | BigUint64Array
     L562:  | BigInt64Array 
     L563:  | Float32Array

[12:08:44]  typescript: node_modules/@types/node/globals.d.ts, line: 563 
            Cannot find name 'BigInt64Array'. 

     L562:  | BigInt64Array
     L563:  | Float32Array 
     L564:  | Float64Array;

[12:08:44]  typescript: node_modules/@types/node/globals.global.d.ts, line: 1 
            Cannot find name 'globalThis'. 

       L1:  declare var global: NodeJS.Global & typeof globalThis;

[12:08:44]  typescript: node_modules/@types/node/process.d.ts, line: 87 
            Cannot find name 'bigint'. 

      L86:      (time?: [number, number]): [number, number];
      L87:      bigint(): bigint;

[12:08:44]  typescript: node_modules/@types/node/readline.d.ts, line: 121 
            Property 'asyncIterator' does not exist on type 'SymbolConstructor'. 

     L120:      prependOnceListener(event: "SIGTSTP", listener: () => void): this;
     L121:      [Symbol.asyncIterator](): AsyncIterableIterator<string>;

[12:08:44]  typescript: node_modules/@types/node/readline.d.ts, line: 121 
            Cannot find name 'AsyncIterableIterator'. 

     L120:      prependOnceListener(event: "SIGTSTP", listener: () => void): this;
     L121:      [Symbol.asyncIterator](): AsyncIterableIterator<string>;

[12:08:44]  typescript: node_modules/@types/node/stream.d.ts, line: 26 
            Cannot find name 'AsyncIterable'. 

      L26:              static from(iterable: Iterable<any> | AsyncIterable<any>, options?: ReadableOptions): Readable;

[12:08:44]  typescript: node_modules/@types/node/stream.d.ts, line: 124 
            Property 'asyncIterator' does not exist on type 'SymbolConstructor'. 

     L124:              [Symbol.asyncIterator](): AsyncIterableIterator<any>;

[12:08:44]  typescript: node_modules/@types/node/stream.d.ts, line: 124 
            Cannot find name 'AsyncIterableIterator'. 

     L124:              [Symbol.asyncIterator](): AsyncIterableIterator<any>;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 128 
            Cannot find name 'BigInt64Array'. 

     L127:  function isAsyncFunction(object: any): boolean;
     L128:  function isBigInt64Array(value: any): value is BigInt64Array;
     L129:  function isBigUint64Array(value: any): value is BigUint64Array;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 129 
            Cannot find name 'BigUint64Array'. 

     L128:  function isBigInt64Array(value: any): value is BigInt64Array;
     L129:  function isBigUint64Array(value: any): value is BigUint64Array;
     L130:  function isBooleanObject(object: any): object is Boolean;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 131 
            Cannot find name 'BigInt'. 

     L130:  function isBooleanObject(object: any): object is Boolean;
     L131:  function isBoxedPrimitive(object: any): object is String | Number | BigInt | Boolean | Symbol;
     L132:  function isDataView(object: any): object is DataView;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 144 
            'ReadonlyMap' only refers to a type, but is being used as a value here. 

     L143:      object: T | {},
     L144:  ): object is T extends ReadonlyMap<any, any>
     L145:      ? unknown extends T

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 145 
            Cannot find name 'unknown'. 

     L144:  ): object is T extends ReadonlyMap<any, any>
     L145:      ? unknown extends T
     L146:          ? never

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 145 
            Cannot find name 'T'. 

     L144:  ): object is T extends ReadonlyMap<any, any>
     L145:      ? unknown extends T
     L146:          ? never

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 146 
            'never' only refers to a type, but is being used as a value here. 

     L145:  ? unknown extends T
     L146:      ? never
     L147:      : ReadonlyMap<any, any>

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 147 
            'ReadonlyMap' only refers to a type, but is being used as a value here. 

     L146:      ? never
     L147:      : ReadonlyMap<any, any>
     L148:  : Map<any, any>;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 148 
            Value of type 'MapConstructor' is not callable. Did you mean to include 'new'? 

     L147:          : ReadonlyMap<any, any>
     L148:      : Map<any, any>;
     L149:  function isMapIterator(object: any): boolean;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 158 
            'ReadonlySet' only refers to a type, but is being used as a value here. 

     L157:      object: T | {},
     L158:  ): object is T extends ReadonlySet<any>
     L159:      ? unknown extends T

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 159 
            Cannot find name 'unknown'. 

     L158:  ): object is T extends ReadonlySet<any>
     L159:      ? unknown extends T
     L160:          ? never

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 159 
            Cannot find name 'T'. 

     L158:  ): object is T extends ReadonlySet<any>
     L159:      ? unknown extends T
     L160:          ? never

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 160 
            'never' only refers to a type, but is being used as a value here. 

     L159:  ? unknown extends T
     L160:      ? never
     L161:      : ReadonlySet<any>

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 161 
            'ReadonlySet' only refers to a type, but is being used as a value here. 

     L160:      ? never
     L161:      : ReadonlySet<any>
     L162:  : Set<any>;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 162 
            Value of type 'SetConstructor' is not callable. Did you mean to include 'new'? 

     L161:          : ReadonlySet<any>
     L162:      : Set<any>;
     L163:  function isSetIterator(object: any): boolean;

[12:08:44]  typescript: node_modules/@types/node/util.d.ts, line: 164 
            Cannot find name 'SharedArrayBuffer'. 

     L163:  function isSetIterator(object: any): boolean;
     L164:  function isSharedArrayBuffer(object: any): object is SharedArrayBuffer;
     L165:  function isStringObject(object: any): object is String;

[12:08:44]  ionic-app-script task: "build" 
[12:08:44]  Error: Failed to transpile program 
Error: Failed to transpile program
    at new BuildError ...

This is my Ionic info out:

Ionic:

   Ionic CLI          : 6.12.3 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework    : ionic-angular 3.9.6
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 18 other plugins)

Utility:

   cordova-res : 0.15.2
   native-run  : 1.3.0

System:

   NodeJS : v10.23.1 (/usr/local/bin/node)
   npm    : 6.14.10
   OS     : macOS Big Sur

Could someone help me to fix?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>