반응형


ngx-bootstrap 설치

npm install ngx-bootstrap --save


npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer depende

ncies yourself.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","

arch":"any"} (current: {"os":"win32","arch":"x64"})


+ ngx-bootstrap@2.0.5

added 68 packages in 26.092s

=====================================================================================

ng2-charts 설치

npm install ng2-charts --save


npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (cur

rent: {"os":"win32","arch":"x64"})


+ ng2-charts@1.6.0

added 72 packages in 17.546s

=====================================================================================

chart.js 설치

npm install chart.js --save


npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependenci

es yourself.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arc

h":"any"} (current: {"os":"win32","arch":"x64"})


+ chart.js@2.7.2

added 67 packages and updated 1 package in 17.462s

=====================================================================================

 jvectormap 설치

 npm i jvectormap


pm WARN deprecated jvectormap@2.0.4: jvectormap is not maintened since Aug 2015. You can use jvectormap-next or

jqvmap instead.

npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependenci

es yourself.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arc

h":"any"} (current: {"os":"win32","arch":"x64"})


+ jvectormap@2.0.4

added 69 packages in 17.386s

=====================================================================================

jquery-slimscroll 설치

npm i jquery-slimscroll


npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependenci

es yourself.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arc

h":"any"} (current: {"os":"win32","arch":"x64"})


+ jquery-slimscroll@1.3.8

added 68 packages in 13.269s

=====================================================================================

Many TsLint Foirmatting lssues Detected.

A hight number of formatting issues have been detected in project-name. Showing these can make more serious issues harder to see.


Show 356 formatting issues.

Disable checking of formatting issues for this project.


STS에서 알림창으로 TsLint  형식이 다른걸 표시 하겠냐 묻는다.

356개나 있다. 

=====================================================================================

STS 에서 문법 검사 해주는 내용.

Multiple markers at this line

- " should be '

- 3 changed lines

홀따옵표로 대부분 쓴다.


declare var jQuery:any;

missing whitespace

공백이 필요한 부분엔 정확히 넣어야 된다.
declare var jQuery: any;


Exceeds maximum line length of 140

3 quick fixes available:

 Remove rule 'max-line-length' from tslint.json

 Jump to rule configuration

 Disable TSLint validation for this project

 소스 라인당 140 줄이라네요. 일단 500으로 변경


var pageWrapper = jQuery('#page-wrapper');

Identifier 'pageWrapper' is never reassigned; use 'const' instead of 'var'.

재할당 되지 않는건 var 대신 const 를 사용해야 된다군요.


Missing semicolon

끝에 세미콜론도 체크해주네요.


import { HttpModule } from '@angular/http';


imports: [

    BrowserModule,

    FormsModule,

    HttpModule,

    DashboardsModule,

    LayoutsModule,

    AppviewsModule,

    RouterModule.forRoot(ROUTES)

  ],


HttpModule is deprecated: use

HttpModule이 deprecated 됬다는데 사용했다네.;


import { HttpClientModule } from '@angular/common/http';

imports: [

    BrowserModule,

    FormsModule,

    HttpClientModule,

    DashboardsModule,

    LayoutsModule,

    AppviewsModule,

    RouterModule.forRoot(ROUTES)

  ],


HttpModule HttpClientModule


=====================================================================================

 <canvas baseChart height="114"

                            [datasets]="lineChartData"

                            [labels]="lineChartLabels"

                            [options]="lineChartOptions"

                            [chartType]="lineChartType"

                            [colors]="lineChartColors">

                    </canvas>

Identifier 'lineChartOptions' is not defined. The component declaration, template variable declarations, and element references do not contain such a member

차트관련 라이브러리나 angular의 버전이 달라 발생하는 문제 같은데 아직 확인 중이다.






 

반응형

+ Recent posts