This topic contains 1 reply, has 2 voices, and was last updated by  ma1 5 months ago.

Failed to compiled, Unable to run angular 6 theme

  • subhendudas

    Member Reply #19907

    Hello All,

    Is anyone help me. I have purchased metronic_v5.5.5  but unable to run angular 6 theme.

    Just buy metronic theme, mostly to use Angular demo, I followed the installation instructions but throw several errors, looks like it’s not so simple as the documentation suggested.



    Date: 2019-02-06T10:36:32.387Z
    Hash: f0798463f54dcc63d4af
    Time: 27800ms
    chunk {main} main.js, (main) 1.94 kB [initial] [rendered]
    chunk {polyfills} polyfills.js, (polyfills) 689 bytes [initial] [rendered]
    chunk {runtime} runtime.js, (runtime) 5.22 kB [entry] [rendered]
    chunk {scripts} scripts.js, (scripts) 72.5 kB  [rendered]
    chunk {styles} styles.js, (styles) 1.62 MB [initial] [rendered]
    chunk {vendor} vendor.js, (vendor) 335 kB [initial] [rendered]

    ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ‘;’ expected.
    node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ‘;’ expected.
    node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected.

    ℹ 「wdm」: Failed to compile.

    You must be logged in to view attached files.


    Posts: 1
    Member Reply #20011

    I also ran into the same issue but was able to get past it by editing package.json:

    I changed “rxjs”: “^6.2.2” to “rxjs”: “6.3.3”

    However, I then ran into something new:

    ERROR in node_modules/@types/lodash/common/object.d.ts(1689,12): error TS2304: Cannot find name ‘Exclude’.

    node_modules/@types/lodash/common/object.d.ts(1766,12): error TS2304: Cannot find name ‘Exclude’.

    node_modules/@types/lodash/common/object.d.ts(1842,34): error TS2304: Cannot find name ‘Exclude’.

You must be logged in to reply to this topic.