Unable to run: ng serve

2.73K views
0

Hello Dear

This is the error message, when running ng serve

—————–

10% building 4/4 modules 0 activeℹ 「wds」: Project is running at http://localhost:4200/webpack-dev-server/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: 404s will fallback to //index.html

chunk {main} main.js, main.js.map (main) 1.96 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 127 kB [initial] [rendered]
chunk {polyfills-es5} polyfills-es5.js, polyfills-es5.js.map (polyfills-es5) 462 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 183 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 340 kB [initial] [rendered]
Date: 2020-02-02T03:33:20.426Z – Hash: f3b7d882ca8518555844 – Time: 40310ms

ERROR in ../node_modules/@types/color/index.d.ts:13:40 – error TS2716: Type parameter ‘T’ has a circular default.

13 interface Color<T extends ColorParam = ColorParam> {
~~~~~~~~~~
app/messagesPage/chatPage/chatPage.ts:19:6 – error TS2554: Expected 2 arguments, but got 1.

19 @ViewChild(‘scrollElement’) content: IonContent;
~~~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/@angular/core/core.d.ts:7888:47
7888 (selector: Type<any> | Function | string, opts: {
~~~~~~~
7889 read?: any;
~~~~~~~~~~~~~~~~~~~
7890 static: boolean;
~~~~~~~~~~~~~~~~~~~~~~~~
7891 }): any;
~~~~~
An argument for ‘opts’ was not provided.
app/searchPage/searchPage.ts:22:6 – error TS2554: Expected 2 arguments, but got 1.

22 @ViewChild(IonInfiniteScroll) infiniteScroll: IonInfiniteScroll;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../node_modules/@angular/core/core.d.ts:7888:47
7888 (selector: Type<any> | Function | string, opts: {
~~~~~~~
7889 read?: any;
~~~~~~~~~~~~~~~~~~~
7890 static: boolean;
~~~~~~~~~~~~~~~~~~~~~~~~
7891 }): any;
~~~~~
An argument for ‘opts’ was not provided.
app/services/Service.ts:12:35 – error TS2307: Cannot find module ‘@angular/core/src/render3/styling/class_and_style_bindings’.

12 import {compareLogSummaries} from ‘@angular/core/src/render3/styling/class_and_style_bindings’;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
「wdm」: Failed to compile.

Answered question
Sorry, you do not have permission to read comments.