Open rajkumarmaji33 opened 6 years ago
Make sure you imported BrowserAnimationsModule in your app-module.
import {NgModule} from '@angular/core';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {BusyModule} from 'angular2-busy';
@NgModule({
imports: [
// ...
BrowserAnimationsModule,
BusyModule
],
// ...
})
export class AppModule {}
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component'; import { MyNewComponentComponent } from './my-new-component/my-new-component.component'; import { DataService } from './data.service'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@NgModule({ declarations: [ AppComponent, MyNewComponentComponent ], imports: [ BrowserModule, FormsModule, HttpModule, BrowserAnimationsModule ], providers: [DataService], bootstrap: [AppComponent] }) export class AppModule { }
On 19 March 2018 at 22:05, shaolinshaosson notifications@github.com wrote:
Make sure you imported BrowserAnimationsModule in your app-module. `import {NgModule} from ''; import {BrowserAnimationsModule} from '/animations'; import {BusyModule} from 'angular2-busy';
@NgModule https://github.com/ngmodule({ imports: [ // ... BrowserAnimationsModule, BusyModule ], // ... }) export class AppModule {}`
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/devyumao/angular2-busy/issues/92#issuecomment-374277522, or mute the thread https://github.com/notifications/unsubscribe-auth/AbH27BFi_bwrbGg9bdxyc7hELCKVLQS2ks5tf95WgaJpZM4SweM2 .
import { Component } from '@angular/core'; import { DataService } from './data.service'; import { trigger,state,style,transition,animate,keyframes } from '@angular/animations';
@Component({ selector: 'app-root', template: ` <p [@myAwesomeAnimation]='state' (click)="animateMe()">I will animate
, styles: [
p {
width:200px;
background:lightgray;
margin: 100px auto;
text-align:center;
padding:20px;
font-size:1.5em;
}
`], animations: [ trigger('myAwesomeAnimation', [ state('small', style({ transform: 'scale(1)', })), state('large', style({ transform: 'scale(1.2)', })), transition('small => large', animate('300ms ease-in')), ]), ] })
export class AppComponent {
constructor(private dataService:DataService) {
}
someProperty:string = ''; ngOnInit() { console.log(this.dataService.cars); this.someProperty = this.dataService.myData(); } }
Hm, could be your typescript version is to old. https://github.com/angular/angular-cli/issues/5693#issuecomment-292755576
Run this command npm install --save typescript@latest but same issue arise
63% building modules 553/615 modules 62 active ...ler\src\compiler_util\ binding 64% building modules 554/615 modules 61 active ...ler\src\compiler_util\ binding 64% building modules 555/615 modules 60 active ...ler\src\compiler_util\ binding 64% building modules 556/615 modules 59 active ...ler\src\compiler_util\ binding 64% building modules 557/615 modules 58 active ...ler\src\compiler_util\ binding 64% building modules 558/615 modules 57 active ...ler\src\compiler_util\ binding 64% building modules 559/615 modules 56 active ...ler\src\compilerutil\ binding 64% building modules 559/616 modules 57 active ...e\src\animation\view animatio 64% building modules 560/616 modules 56 active ...e\src\animation\view animatio 64% building modules 561/616 modules 55 active ...e\src\animation\view animatio 64% building modules 562/616 modules 54 active ...e\src\animation\view animatio 64% building modules 563/616 modules 53 active ...e\src\animation\view animatio 64% building modules 564/616 modules 52 active ...e\src\animation\view animatio 65% building modules 565/616 modules 51 active ...e\src\animation\view animatio 65% building modules 566/616 modules 50 active ...e\src\animation\view animatio 65% building modules 567/616 modules 49 active ...e\src\animation\view animatio 65% building modules 568/616 modules 48 active ...e\src\animation\view animatio 65% building modules 569/616 modules 47 active ...e\src\animation\view animatio 65% building modules 570/616 modules 46 active ...e\src\animation\view animatio 65% building modules 571/616 modules 45 active ...e\src\animation\view animatio 65% building modules 572/616 modules 44 active ...e\src\animation\view animatio 65% building modules 573/616 modules 43 active ...e\src\animation\view animatio 65% building modules 574/616 modules 42 active ...e\src\animation\view animatio 66% building modules 575/616 modules 41 active ...e\src\animation\view animatio 66% building modules 576/616 modules 40 active ...e\src\animation\view animatio 66% building modules 577/616 modules 39 active ...e\src\animation\view animatio 66% building modules 578/616 modules 38 active ...e\src\animation\view animatio 66% building modules 579/616 modules 37 active ...e\src\animation\view animatio 66% building modules 580/616 modules 36 active ...e\src\animation\view animatio 66% building modules 581/616 modules 35 active ...e\src\animation\view animatio 66% building modules 582/616 modules 34 active ...e\src\animation\view animatio 66% building modules 583/616 modules 33 active ...e\src\animation\view animatio 66% building modules 584/616 modules 32 active ...e\src\animation\view animatio 66% building modules 585/616 modules 31 active ...e\src\animation\view animatio 67% building modules 586/616 modules 30 active ...e\src\animation\view animatio 67% building modules 587/616 modules 29 active ...e\src\animation\view animatio 67% building modules 588/616 modules 28 active ...e\src\animation\view animatio 67% building modules 589/616 modules 27 active ...e\src\animation\view animatio 67% building modules 590/616 modules 26 active ...e\src\animation\view animatio 67% building modules 591/616 modules 25 active ...e\src\animation\view animatio 67% building modules 592/616 modules 24 active ...e\src\animation\view animatio 67% building modules 593/616 modules 23 active ...e\src\animation\view animatio 67% building modules 594/616 modules 22 active ...e\src\animation\view animatio 67% building modules 595/616 modules 21 active ...e\src\animation\view animatio 67% building modules 595/617 modules 22 active ...ules\sockjs-client\lib\ info-i 67% building modules 596/617 modules 21 active ...ules\sockjs-client\lib\ info-i 67% building modules 596/618 modules 22 active ...e_modules\sockjs-client\ lib\f 67% building modules 596/619 modules 23 active ...js-client\lib\info-iframe-rec 67% building modules 596/620 modules 24 active ...les\sockjs-client\lib\ utils\i 67% building modules 596/621 modules 25 active ...lient\lib\transport\lib\ ajax- 67% building modules 596/622 modules 26 active ...odules\sockjs-client\lib\ info 67% building modules 597/622 modules 25 active ...odules\sockjs-client\lib\ info 67% building modules 597/623 modules 26 active ...ts101\node_modules\json3\ lib\ 67% building modules 598/623 modules 25 active ...ts101\node_modules\json3\ lib\ 67% building modules 599/623 modules 24 active ...ts101\node_modules\json3\ lib\ 67% building modules 600/623 modules 23 active ...ts101\node_modules\json3\ lib\ 67% building modules 601/623 modules 22 active ...ts101\node_modules\json3\ lib\ 67% building modules 602/623 modules 21 active ...ts101\node_modules\json3\ lib\ 68% building modules 603/623 modules 20 active ...ts101\node_modules\json3\ lib\ 68% building modules 604/623 modules 19 active ...ts101\node_modules\json3\ lib\ 68% building modules 605/623 modules 18 active ...ts101\node_modules\json3\ lib\ 68% building modules 606/623 modules 17 active ...ts101\node_modules\json3\ lib\ 68% building modules 607/623 modules 16 active ...ts101\node_modules\json3\ lib\ 68% building modules 607/624 modules 17 active ...sockjs-client\lib\ transport\i 68% building modules 607/625 modules 18 active ...modules\@angular\common\ src\c 68% building modules 608/625 modules 17 active ...modules\@angular\common\ src\c 68% building modules 608/626 modules 18 active ...\lib\transport\lib\sender-rec 68% building modules 609/626 modules 17 active ...\lib\transport\lib\sender-rec 68% building modules 610/626 modules 16 active ...\lib\transport\lib\sender-rec 68% building modules 610/627 modules 17 active ...ient\lib\transport\sender\xhr 68% building modules 610/628 modules 18 active ...ient\lib\transport\sender\xhr 68% building modules 610/629 modules 19 active ...js-client\lib\transport\ sende 68% building modules 610/630 modules 20 active ...-client\lib\transport\ sender\ 68% building modules 610/631 modules 21 active ...ent\lib\transport\sender\ xhr- 67% building modules 610/632 modules 22 active ...nt\lib\transport\receiver\htm 67% building modules 610/633 modules 23 active ...lib\transport\receiver\ events 67% building modules 610/634 modules 24 active ...-client\lib\transport\ receive 67% building modules 610/635 modules 25 active ...lient\lib\transport\ receiver\ 67% building modules 611/635 modules 24 active ...lient\lib\transport\ receiver\ 67% building modules 612/635 modules 23 active ...lient\lib\transport\ receiver\ 67% building modules 613/635 modules 22 active ...lient\lib\transport\ receiver\ 68% building modules 614/635 modules 21 active ...lient\lib\transport\ receiver\ 68% building modules 615/635 modules 20 active ...lient\lib\transport\ receiver\ 68% building modules 615/636 modules 21 active ...nt\lib\transport\browser\ webs 68% building modules 616/636 modules 20 active ...nt\lib\transport\browser\ webs 68% building modules 617/636 modules 19 active ...nt\lib\transport\browser\ webs 68% building modules 618/636 modules 18 active ...nt\lib\transport\browser\ webs 68% building modules 619/636 modules 17 active ...nt\lib\transport\browser\ webs 68% building modules 620/636 modules 16 active ...nt\lib\transport\browser\ webs 68% building modules 620/637 modules 17 active ...\node_modules\rxjs\util\ isFun 68% building modules 620/638 modules 18 active ...ents101\node_modules\rxjs\Obs 68% building modules 621/638 modules 17 active ...ents101\node_modules\rxjs\Obs 68% building modules 622/638 modules 16 active ...ents101\node_modules\rxjs\Obs 68% building modules 623/638 modules 15 active ...ents101\node_modules\rxjs\Obs 68% building modules 624/638 modules 14 active ...ents101\node_modules\rxjs\Obs 68% building modules 625/638 modules 13 active ...ents101\node_modules\rxjs\Obs 68% building modules 626/638 modules 12 active ...ents101\node_modules\rxjs\Obs 68% building modules 627/638 modules 11 active ...ents101\node_modules\rxjs\Obs 69% building modules 628/638 modules 10 active ...ents101\node_modules\rxjs\Obs 69% building modules 629/638 modules 9 active ...ents101\node_modules\rxjs\ Obse 69% building modules 630/638 modules 8 active ...ents101\node_modules\rxjs\ Obse 69% building modules 631/638 modules 7 active ...ents101\node_modules\rxjs\ Obse 69% building modules 632/638 modules 6 active ...ents101\node_modules\rxjs\ Obse 69% building modules 632/639 modules 7 active ...101\node_modules\rxjs\util\isA 69% building modules 632/640 modules 8 active ...01\node_modules\rxjs\util\ isOb 69% building modules 632/641 modules 9 active ...01\node_modules\rxjs\util\ tryC 69% building modules 632/642 modules 10 active ...node_modules\rxjs\util\ errorO 68% building modules 632/643 modules 11 active ...ules\rxjs\util\ Unsubscription 68% building modules 632/644 modules 12 active ...nts101\node_modules\rxjs\ util 68% building modules 633/644 modules 11 active ...nts101\node_modules\rxjs\ util 69% building modules 634/644 modules 10 active ...nts101\node_modules\rxjs\ util 69% building modules 635/644 modules 9 active ...nts101\node_modules\rxjs\ util\ 69% building modules 636/644 modules 8 active ...nts101\node_modules\rxjs\ util\ 69% building modules 636/645 modules 9 active ...compiler\src\i18n\ extractor_me 69% building modules 636/646 modules 10 active ...mpiler\src\i18n\ translationb 68% building modules 636/647 modules 11 active ...gular\compiler\src\ml parser\ 68% building modules 636/648 modules 12 active ...ler\src\output\abstract_js_em 68% building modules 636/649 modules 13 active ...ler\src\view_compiler\ compile 68% building modules 636/650 modules 14 active ...r\src\view_compiler\ compile_m 68% building modules 636/651 modules 15 active ...er\src\viewcompiler\ compile 68% building modules 636/652 modules 16 active ...ar\compiler\src\view_ compiler 68% building modules 636/653 modules 17 active ...ler\src\view_compiler\ event_b 68% building modules 636/654 modules 18 active ...ler\src\view_compiler\ query_b 68% building modules 636/655 modules 19 active ...mpiler\src\view_compiler\ cons 68% building modules 636/656 modules 20 active ...src\view_compiler\ lifecycle_b 68% building modules 636/657 modules 21 active ...\src\view_compiler\ property_b 67% building modules 636/658 modules 22 active ...\@angular\compiler\src\ i18n\d 67% building modules 636/659 modules 23 active ...\compiler\src\ml_parser\ xml_p 67% building modules 636/660 modules 24 active ...er\src\i18n\serializers\ xml_h 67% building modules 636/661 modules 25 active ...odules\webpack\buildin\amd-op 67% building modules 636/662 modules 26 active ...ts101\node_modules\debug\ src\ 67% building modules 636/663 modules 27 active ...gular\compiler\src\i18n\ parse 67% building modules 636/664 modules 28 active ...angular\compiler\src\i18n\i18 67% building modules 637/664 modules 27 active ...angular\compiler\src\i18n\i18 67% building modules 638/664 modules 26 active ...angular\compiler\src\i18n\i18 67% building modules 639/664 modules 25 active ...angular\compiler\src\i18n\i18 67% building modules 640/664 modules 24 active ...angular\compiler\src\i18n\i18 67% building modules 641/664 modules 23 active ...angular\compiler\src\i18n\i18 68% building modules 642/664 modules 22 active ...angular\compiler\src\i18n\i18 68% building modules 643/664 modules 21 active ...angular\compiler\src\i18n\i18 68% building modules 644/664 modules 20 active ...angular\compiler\src\i18n\i18 68% building modules 645/664 modules 19 active ...angular\compiler\src\i18n\i18 68% building modules 646/664 modules 18 active ...angular\compiler\src\i18n\i18 68% building modules 647/664 modules 17 active ...angular\compiler\src\i18n\i18 68% building modules 648/664 modules 16 active ...angular\compiler\src\i18n\i18 68% building modules 649/664 modules 15 active ...angular\compiler\src\i18n\i18 68% building modules 650/664 modules 14 active ...angular\compiler\src\i18n\i18 68% building modules 651/664 modules 13 active ...angular\compiler\src\i18n\i18 68% building modules 652/664 modules 12 active ...angular\compiler\src\i18n\i18 69% building modules 653/664 modules 11 active ...angular\compiler\src\i18n\i18 69% building modules 654/664 modules 10 active ...angular\compiler\src\i18n\i18 69% building modules 655/664 modules 9 active ...angular\compiler\src\i18n\ i18n 69% building modules 656/664 modules 8 active ...angular\compiler\src\i18n\ i18n 69% building modules 657/664 modules 7 active ...angular\compiler\src\i18n\ i18n 69% building modules 658/664 modules 6 active ...angular\compiler\src\i18n\ i18n 69% building modules 658/665 modules 7 active ...s-client\lib\transport\lib\pol 69% building modules 658/666 modules 8 active ...\lib\transport\lib\ buffered-se 69% building modules 658/667 modules 9 active ...s\@angular\common\src\ localiza 69% building modules 658/668 modules 10 active ...\@angular\common\src\ common_m 69% building modules 658/669 modules 11 active ...odules\@angular\common\src\ve 69% building modules 659/669 modules 10 active ...odules\@angular\common\src\ve 69% building modules 659/670 modules 11 active ...1\node_modules\requires- port\ 69% building modules 660/670 modules 10 active ...1\node_modules\requires- port\ 69% building modules 661/670 modules 9 active ...1\node_modules\requires- port\i 69% building modules 662/670 modules 8 active ...1\node_modules\requires- port\i 69% building modules 663/670 modules 7 active ...1\node_modules\requires- port\i 69% building modules 664/670 modules 6 active ...1\node_modules\requires- port\i 69% building modules 664/671 modules 7 active ...lib\transport\browser\ abstract 69% building modules 664/672 modules 8 active ...@angular\common\src\ location\i 69% building modules 664/673 modules 9 active ...ngular\common\src\ directives\i 69% building modules 664/674 modules 10 active ...es\@angular\common\src\ pipes\ 69% building modules 664/675 modules 11 active ...\node_modules\ querystringify\ 69% building modules 665/675 modules 10 active ...\node_modules\ querystringify\ 69% building modules 666/675 modules 9 active ...\node_modules\ querystringify\i 69% building modules 667/675 modules 8 active ...\node_modules\ querystringify\i 69% building modules 668/675 modules 7 active ...\node_modules\ querystringify\i 69% building modules 669/675 modules 6 active ...\node_modules\ querystringify\i 69% building modules 670/675 modules 5 active ...\node_modules\ querystringify\i 69% building modules 670/676 modules 6 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 671/676 modules 5 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 672/676 modules 4 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 673/676 modules 3 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 674/676 modules 2 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 675/676 modules 1 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 675/677 modules 2 active ...ar\compiler\src\mlparser\ xml 69% building modules 675/678 modules 3 active ...mon\src\location\platform loca 69% building modules 675/679 modules 4 active ...mon\src\location\location stra 69% building modules 675/680 modules 5 active ...rc\location\pathlocation stra 69% building modules 675/681 modules 6 active ...rc\location\hashlocation stra 69% building modules 675/682 modules 7 active ...lar\common\src\directives\ ng_c 69% building modules 675/683 modules 8 active ...ngular\common\src\ directives\n 69% building modules 675/684 modules 9 active ...gular\common\src\ directives\ng 69% building modules 675/685 modules 10 active ...ar\common\src\directives\ ngp 69% building modules 675/686 modules 11 active ...lar\common\src\directives\ng 68% building modules 675/687 modules 12 active ...ar\common\src\directives\ ngs 68% building modules 675/688 modules 13 active ...\src\directives\ng templateo 68% building modules 676/688 modules 12 active ...\src\directives\ng templateo 69% building modules 677/688 modules 11 active ...\src\directives\ng templateo 68% building modules 677/689 modules 12 active ...ngular\common\src\pipes\ async 68% building modules 677/690 modules 13 active ...gular\common\src\location\loc 68% building modules 677/691 modules 14 active ...angular\common\src\pipes\ date 68% building modules 677/692 modules 15 active ...ar\common\src\pipes\ lowercase 68% building modules 677/693 modules 16 active ...\common\src\pipes\i18n plural 68% building modules 677/694 modules 17 active ...angular\common\src\pipes\ json 68% building modules 677/695 modules 18 active ...\common\src\pipes\i18n select 68% building modules 677/696 modules 19 active ...ar\common\src\pipes\ uppercase 68% building modules 677/697 modules 20 active ...gular\common\src\pipes\ number 68% building modules 677/698 modules 21 active ...ngular\common\src\pipes\ slice 68% building modules 678/698 modules 20 active ...ngular\common\src\pipes\ slice 68% building modules 679/698 modules 19 active ...ngular\common\src\pipes\ slice 68% building modules 680/698 modules 18 active ...ngular\common\src\pipes\ slice 68% building modules 681/698 modules 17 active ...ngular\common\src\pipes\ slice 68% building modules 682/698 modules 16 active ...ngular\common\src\pipes\ slice 68% building modules 683/698 modules 15 active ...ngular\common\src\pipes\ slice 68% building modules 684/698 modules 14 active ...ngular\common\src\pipes\ slice 68% building modules 685/698 modules 13 active ...ngular\common\src\pipes\ slice 68% building modules 686/698 modules 12 active ...ngular\common\src\pipes\ slice 69% building modules 687/698 modules 11 active ...ngular\common\src\pipes\ slice 69% building modules 688/698 modules 10 active ...ngular\common\src\pipes\ slice 69% building modules 689/698 modules 9 active ...ngular\common\src\pipes\ slice 69% building modules 690/698 modules 8 active ...ngular\common\src\pipes\ slice 69% building modules 691/698 modules 7 active ...ngular\common\src\pipes\ slice 69% building modules 692/698 modules 6 active ...ngular\common\src\pipes\ slice_ 69% building modules 692/699 modules 7 active ...omponents101\node_modules\ ms\i 69% building modules 693/699 modules 6 active ...omponents101\node_modules\ ms\i 69% building modules 694/699 modules 5 active ...omponents101\node_modules\ ms\i 69% building modules 695/699 modules 4 active ...omponents101\node_modules\ ms\i 69% building modules 696/699 modules 3 active ...omponents101\node_modules\ ms\i 69% building modules 697/699 modules 2 active ...omponents101\node_modules\ ms\i 69% building modules 698/699 modules 1 active ...omponents101\nodemodules\ ms\i 69% building modules 698/700 modules 2 active ...r\src\i18n\serializers\ placeho 69% building modules 699/700 modules 1 active ...r\src\i18n\serializers\ placeho 69% building modules 699/701 modules 2 active ...lar\common\src\private import_ 69% building modules 699/702 modules 3 active ...\pipes\invalidpipe argument_e 69% building modules 699/703 modules 4 active ...les\@angular\common\src\ pipes\ 69% building modules 699/704 modules 5 active ...es\@angular\common\src\ facade\ 69% building modules 699/705 modules 6 active ...gular\common\src\facade\ collec 69% building modules 700/705 modules 5 active ...gular\common\src\facade\ collec 69% building modules 701/705 modules 4 active ...gular\common\src\facade\ collec 69% building modules 702/705 modules 3 active ...gular\common\src\facade\ collec 69% building modules 703/705 modules 2 active ...gular\common\src\facade\ collec 69% building modules 704/705 modules 1 active ...les\@angular\common\src\ pipes\ 69% building modules 705/706 modules 1 active ...\@angular\common\src\ facade\er Hash: 20824c54ec7e8d4bdfa5 Time: 22446ms chunk {0} polyfills.bundle.js, polyfills.bundle.map (polyfills) 234 kB {4} [i nitial] [rendered] chunk {1} main.bundle.js, main.bundle.map (main) 8.1 kB {3} [initial] [render ed] chunk {2} styles.bundle.js, styles.bundle.map (styles) 9.71 kB {4} [initial] [rendered] chunk {3} vendor.bundle.js, vendor.bundle.map (vendor) 2.68 MB [initial] [ren dered] chunk {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rende red]
ERROR in C:/Users/PRINCE/code/components101/src/app/app.module.ts (9,41): Cannot find module '@angular/platform-browser/animations'.
ERROR in Error: Error encountered resolving symbol values statically. Could
not
resolve @angular/platform-browser/animations relative to
C:/Users/PRINCE/code/co
mponents101/src/app/app.module.ts., resolving symbol AppModule in
C:/Users/PRINC
E/code/components101/src/app/app.module.ts, resolving symbol AppModule in
C:/Use
rs/PRINCE/code/components101/src/app/app.module.ts
at SyntaxError.BaseError [as constructor] (C:\Users\PRINCE\code\
components10
1\node_modules\@angular\compiler\bundles\compiler.umd.js:1597:31)
at new SyntaxError (C:\Users\PRINCE\code\components101\node_modules\@
angular
\compiler\bundles\compiler.umd.js:1795:20)
at simplifyInContext (C:\Users\PRINCE\code\components101\node_modules\@
angul
ar\compiler\bundles\compiler.umd.js:25774:27)
at StaticReflector.simplify (C:\Users\PRINCE\code\
components101\node_modules
\@angular\compiler\bundles\compiler.umd.js:25786:17)
at StaticReflector.annotations (C:\Users\PRINCE\code\
components101\node_modu
les\@angular\compiler\bundles\compiler.umd.js:25282:64)
at _getNgModuleMetadata (C:\Users\PRINCE\code\
components101\node_modules\@an
gular\compiler-cli\src\ngtools_impl.js:126:31)
at _extractLazyRoutesFromStaticModule (C:\Users\PRINCE\code\
components101\no
de_modules\@angular\compiler-cli\src\ngtools_impl.js:101:26)
at Object.listLazyRoutesOfModule (C:\Users\PRINCE\code\
components101\node_mo
dules\@angular\compiler-cli\src\ngtools_impl.js:52:22)
at Function.NgTools_InternalApi_NG_2.listLazyRoutes
(C:\Users\PRINCE\code\co
mponents101\node_modules\@angular\compiler-cli\src\ngtools_api.js:78:39)
at AotPlugin._getLazyRoutesFromNgtools (C:\Users\PRINCE\code\
components101\n
ode_modules\@ngtools\webpack\src\plugin.js:240:66)
at _donePromise.Promise.resolve.then.then.then.then.then
(C:\Users\PRINCE\co
de\components101\node_modules\@ngtools\webpack\src\plugin.js:493:24)
at
ERROR in C:/Users/PRINCE/code/components101/src/app/app.module.ts (9,41): Cannot find module '@angular/platform-browser/animations'.
ERROR in ./src/app/app.module.ts Module not found: Error: Can't resolve '@angular/platform-browser/animations' in 'C:\Users\PRINCE\code\components101\src\app' @ ./src/app/app.module.ts 14:0-79 @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:4200/ ./src/main.ts webpack: Failed to compile.
On 19 March 2018 at 22:32, shaolinshaosson notifications@github.com wrote:
Hm, could be your typescript version is to old. angular/angular-cli#5693 (comment) https://github.com/angular/angular-cli/issues/5693#issuecomment-292755576
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/devyumao/angular2-busy/issues/92#issuecomment-374288147, or mute the thread https://github.com/notifications/unsubscribe-auth/AbH27JoUQrSoCJ5E3IocVXP6hcxO5_9eks5tf-SogaJpZM4SweM2 .
I cannot find where this syntaxerror occur
On 19 March 2018 at 23:08, RAJKUMAR MAJI notifications@github.com wrote:
Run this command npm install --save typescript@latest but same issue arise
63% building modules 553/615 modules 62 active ...ler\src\compiler_util\ binding 64% building modules 554/615 modules 61 active ...ler\src\compiler_util\ binding 64% building modules 555/615 modules 60 active ...ler\src\compiler_util\ binding 64% building modules 556/615 modules 59 active ...ler\src\compiler_util\ binding 64% building modules 557/615 modules 58 active ...ler\src\compiler_util\ binding 64% building modules 558/615 modules 57 active ...ler\src\compiler_util\ binding 64% building modules 559/615 modules 56 active ...ler\src\compilerutil\ binding 64% building modules 559/616 modules 57 active ...e\src\animation\view animatio 64% building modules 560/616 modules 56 active ...e\src\animation\view animatio 64% building modules 561/616 modules 55 active ...e\src\animation\view animatio 64% building modules 562/616 modules 54 active ...e\src\animation\view animatio 64% building modules 563/616 modules 53 active ...e\src\animation\view animatio 64% building modules 564/616 modules 52 active ...e\src\animation\view animatio 65% building modules 565/616 modules 51 active ...e\src\animation\view animatio 65% building modules 566/616 modules 50 active ...e\src\animation\view animatio 65% building modules 567/616 modules 49 active ...e\src\animation\view animatio 65% building modules 568/616 modules 48 active ...e\src\animation\view animatio 65% building modules 569/616 modules 47 active ...e\src\animation\view animatio 65% building modules 570/616 modules 46 active ...e\src\animation\view animatio 65% building modules 571/616 modules 45 active ...e\src\animation\view animatio 65% building modules 572/616 modules 44 active ...e\src\animation\view animatio 65% building modules 573/616 modules 43 active ...e\src\animation\view animatio 65% building modules 574/616 modules 42 active ...e\src\animation\view animatio 66% building modules 575/616 modules 41 active ...e\src\animation\view animatio 66% building modules 576/616 modules 40 active ...e\src\animation\view animatio 66% building modules 577/616 modules 39 active ...e\src\animation\view animatio 66% building modules 578/616 modules 38 active ...e\src\animation\view animatio 66% building modules 579/616 modules 37 active ...e\src\animation\view animatio 66% building modules 580/616 modules 36 active ...e\src\animation\view animatio 66% building modules 581/616 modules 35 active ...e\src\animation\view animatio 66% building modules 582/616 modules 34 active ...e\src\animation\view animatio 66% building modules 583/616 modules 33 active ...e\src\animation\view animatio 66% building modules 584/616 modules 32 active ...e\src\animation\view animatio 66% building modules 585/616 modules 31 active ...e\src\animation\view animatio 67% building modules 586/616 modules 30 active ...e\src\animation\view animatio 67% building modules 587/616 modules 29 active ...e\src\animation\view animatio 67% building modules 588/616 modules 28 active ...e\src\animation\view animatio 67% building modules 589/616 modules 27 active ...e\src\animation\view animatio 67% building modules 590/616 modules 26 active ...e\src\animation\view animatio 67% building modules 591/616 modules 25 active ...e\src\animation\view animatio 67% building modules 592/616 modules 24 active ...e\src\animation\view animatio 67% building modules 593/616 modules 23 active ...e\src\animation\view animatio 67% building modules 594/616 modules 22 active ...e\src\animation\view animatio 67% building modules 595/616 modules 21 active ...e\src\animation\view animatio 67% building modules 595/617 modules 22 active ...ules\sockjs-client\lib\ info-i 67% building modules 596/617 modules 21 active ...ules\sockjs-client\lib\ info-i 67% building modules 596/618 modules 22 active ...e_modules\sockjs-client\ lib\f 67% building modules 596/619 modules 23 active ...js-client\lib\info-iframe-rec 67% building modules 596/620 modules 24 active ...les\sockjs-client\lib\ utils\i 67% building modules 596/621 modules 25 active ...lient\lib\transport\lib\ ajax- 67% building modules 596/622 modules 26 active ...odules\sockjs-client\lib\ info 67% building modules 597/622 modules 25 active ...odules\sockjs-client\lib\ info 67% building modules 597/623 modules 26 active ...ts101\node_modules\json3\ lib\ 67% building modules 598/623 modules 25 active ...ts101\node_modules\json3\ lib\ 67% building modules 599/623 modules 24 active ...ts101\node_modules\json3\ lib\ 67% building modules 600/623 modules 23 active ...ts101\node_modules\json3\ lib\ 67% building modules 601/623 modules 22 active ...ts101\node_modules\json3\ lib\ 67% building modules 602/623 modules 21 active ...ts101\node_modules\json3\ lib\ 68% building modules 603/623 modules 20 active ...ts101\node_modules\json3\ lib\ 68% building modules 604/623 modules 19 active ...ts101\node_modules\json3\ lib\ 68% building modules 605/623 modules 18 active ...ts101\node_modules\json3\ lib\ 68% building modules 606/623 modules 17 active ...ts101\node_modules\json3\ lib\ 68% building modules 607/623 modules 16 active ...ts101\node_modules\json3\ lib\ 68% building modules 607/624 modules 17 active ...sockjs-client\lib\ transport\i 68% building modules 607/625 modules 18 active ...modules\@angular\common\ src\c 68% building modules 608/625 modules 17 active ...modules\@angular\common\ src\c 68% building modules 608/626 modules 18 active ...\lib\transport\lib\sender-rec 68% building modules 609/626 modules 17 active ...\lib\transport\lib\sender-rec 68% building modules 610/626 modules 16 active ...\lib\transport\lib\sender-rec 68% building modules 610/627 modules 17 active ...ient\lib\transport\sender\xhr 68% building modules 610/628 modules 18 active ...ient\lib\transport\sender\xhr 68% building modules 610/629 modules 19 active ...js-client\lib\transport\ sende 68% building modules 610/630 modules 20 active ...-client\lib\transport\ sender\ 68% building modules 610/631 modules 21 active ...ent\lib\transport\sender\ xhr- 67% building modules 610/632 modules 22 active ...nt\lib\transport\receiver\htm 67% building modules 610/633 modules 23 active ...lib\transport\receiver\ events 67% building modules 610/634 modules 24 active ...-client\lib\transport\ receive 67% building modules 610/635 modules 25 active ...lient\lib\transport\ receiver\ 67% building modules 611/635 modules 24 active ...lient\lib\transport\ receiver\ 67% building modules 612/635 modules 23 active ...lient\lib\transport\ receiver\ 67% building modules 613/635 modules 22 active ...lient\lib\transport\ receiver\ 68% building modules 614/635 modules 21 active ...lient\lib\transport\ receiver\ 68% building modules 615/635 modules 20 active ...lient\lib\transport\ receiver\ 68% building modules 615/636 modules 21 active ...nt\lib\transport\browser\ webs 68% building modules 616/636 modules 20 active ...nt\lib\transport\browser\ webs 68% building modules 617/636 modules 19 active ...nt\lib\transport\browser\ webs 68% building modules 618/636 modules 18 active ...nt\lib\transport\browser\ webs 68% building modules 619/636 modules 17 active ...nt\lib\transport\browser\ webs 68% building modules 620/636 modules 16 active ...nt\lib\transport\browser\ webs 68% building modules 620/637 modules 17 active ...\node_modules\rxjs\util\ isFun 68% building modules 620/638 modules 18 active ...ents101\node_modules\rxjs\Obs 68% building modules 621/638 modules 17 active ...ents101\node_modules\rxjs\Obs 68% building modules 622/638 modules 16 active ...ents101\node_modules\rxjs\Obs 68% building modules 623/638 modules 15 active ...ents101\node_modules\rxjs\Obs 68% building modules 624/638 modules 14 active ...ents101\node_modules\rxjs\Obs 68% building modules 625/638 modules 13 active ...ents101\node_modules\rxjs\Obs 68% building modules 626/638 modules 12 active ...ents101\node_modules\rxjs\Obs 68% building modules 627/638 modules 11 active ...ents101\node_modules\rxjs\Obs 69% building modules 628/638 modules 10 active ...ents101\node_modules\rxjs\Obs 69% building modules 629/638 modules 9 active ...ents101\node_modules\rxjs\ Obse 69% building modules 630/638 modules 8 active ...ents101\node_modules\rxjs\ Obse 69% building modules 631/638 modules 7 active ...ents101\node_modules\rxjs\ Obse 69% building modules 632/638 modules 6 active ...ents101\node_modules\rxjs\ Obse 69% building modules 632/639 modules 7 active ...101\node_modules\rxjs\util\isA 69% building modules 632/640 modules 8 active ...01\node_modules\rxjs\util\ isOb 69% building modules 632/641 modules 9 active ...01\node_modules\rxjs\util\ tryC 69% building modules 632/642 modules 10 active ...node_modules\rxjs\util\ errorO 68% building modules 632/643 modules 11 active ...ules\rxjs\util\ Unsubscription 68% building modules 632/644 modules 12 active ...nts101\node_modules\rxjs\ util 68% building modules 633/644 modules 11 active ...nts101\node_modules\rxjs\ util 69% building modules 634/644 modules 10 active ...nts101\node_modules\rxjs\ util 69% building modules 635/644 modules 9 active ...nts101\node_modules\rxjs\ util\ 69% building modules 636/644 modules 8 active ...nts101\node_modules\rxjs\ util\ 69% building modules 636/645 modules 9 active ...compiler\src\i18n\ extractor_me 69% building modules 636/646 modules 10 active ...mpiler\src\i18n\ translationb 68% building modules 636/647 modules 11 active ...gular\compiler\src\ml parser\ 68% building modules 636/648 modules 12 active ...ler\src\output\abstract_js_em 68% building modules 636/649 modules 13 active ...ler\src\view_compiler\ compile 68% building modules 636/650 modules 14 active ...r\src\view_compiler\ compile_m 68% building modules 636/651 modules 15 active ...er\src\viewcompiler\ compile 68% building modules 636/652 modules 16 active ...ar\compiler\src\view_ compiler 68% building modules 636/653 modules 17 active ...ler\src\view_compiler\ event_b 68% building modules 636/654 modules 18 active ...ler\src\view_compiler\ query_b 68% building modules 636/655 modules 19 active ...mpiler\src\view_compiler\ cons 68% building modules 636/656 modules 20 active ...src\view_compiler\ lifecycle_b 68% building modules 636/657 modules 21 active ...\src\view_compiler\ property_b 67% building modules 636/658 modules 22 active ...\@angular\compiler\src\ i18n\d 67% building modules 636/659 modules 23 active ...\compiler\src\ml_parser\ xml_p 67% building modules 636/660 modules 24 active ...er\src\i18n\serializers\ xml_h 67% building modules 636/661 modules 25 active ...odules\webpack\buildin\amd-op 67% building modules 636/662 modules 26 active ...ts101\node_modules\debug\ src\ 67% building modules 636/663 modules 27 active ...gular\compiler\src\i18n\ parse 67% building modules 636/664 modules 28 active ...angular\compiler\src\i18n\i18 67% building modules 637/664 modules 27 active ...angular\compiler\src\i18n\i18 67% building modules 638/664 modules 26 active ...angular\compiler\src\i18n\i18 67% building modules 639/664 modules 25 active ...angular\compiler\src\i18n\i18 67% building modules 640/664 modules 24 active ...angular\compiler\src\i18n\i18 67% building modules 641/664 modules 23 active ...angular\compiler\src\i18n\i18 68% building modules 642/664 modules 22 active ...angular\compiler\src\i18n\i18 68% building modules 643/664 modules 21 active ...angular\compiler\src\i18n\i18 68% building modules 644/664 modules 20 active ...angular\compiler\src\i18n\i18 68% building modules 645/664 modules 19 active ...angular\compiler\src\i18n\i18 68% building modules 646/664 modules 18 active ...angular\compiler\src\i18n\i18 68% building modules 647/664 modules 17 active ...angular\compiler\src\i18n\i18 68% building modules 648/664 modules 16 active ...angular\compiler\src\i18n\i18 68% building modules 649/664 modules 15 active ...angular\compiler\src\i18n\i18 68% building modules 650/664 modules 14 active ...angular\compiler\src\i18n\i18 68% building modules 651/664 modules 13 active ...angular\compiler\src\i18n\i18 68% building modules 652/664 modules 12 active ...angular\compiler\src\i18n\i18 69% building modules 653/664 modules 11 active ...angular\compiler\src\i18n\i18 69% building modules 654/664 modules 10 active ...angular\compiler\src\i18n\i18 69% building modules 655/664 modules 9 active ...angular\compiler\src\i18n\ i18n 69% building modules 656/664 modules 8 active ...angular\compiler\src\i18n\ i18n 69% building modules 657/664 modules 7 active ...angular\compiler\src\i18n\ i18n 69% building modules 658/664 modules 6 active ...angular\compiler\src\i18n\ i18n 69% building modules 658/665 modules 7 active ...s-client\lib\transport\lib\pol 69% building modules 658/666 modules 8 active ...\lib\transport\lib\ buffered-se 69% building modules 658/667 modules 9 active ...s\@angular\common\src\ localiza 69% building modules 658/668 modules 10 active ...\@angular\common\src\ common_m 69% building modules 658/669 modules 11 active ...odules\@angular\common\src\ve 69% building modules 659/669 modules 10 active ...odules\@angular\common\src\ve 69% building modules 659/670 modules 11 active ...1\node_modules\requires- port\ 69% building modules 660/670 modules 10 active ...1\node_modules\requires- port\ 69% building modules 661/670 modules 9 active ...1\node_modules\requires- port\i 69% building modules 662/670 modules 8 active ...1\node_modules\requires- port\i 69% building modules 663/670 modules 7 active ...1\node_modules\requires- port\i 69% building modules 664/670 modules 6 active ...1\node_modules\requires- port\i 69% building modules 664/671 modules 7 active ...lib\transport\browser\ abstract 69% building modules 664/672 modules 8 active ...@angular\common\src\ location\i 69% building modules 664/673 modules 9 active ...ngular\common\src\ directives\i 69% building modules 664/674 modules 10 active ...es\@angular\common\src\ pipes\ 69% building modules 664/675 modules 11 active ...\node_modules\ querystringify\ 69% building modules 665/675 modules 10 active ...\node_modules\ querystringify\ 69% building modules 666/675 modules 9 active ...\node_modules\ querystringify\i 69% building modules 667/675 modules 8 active ...\node_modules\ querystringify\i 69% building modules 668/675 modules 7 active ...\node_modules\ querystringify\i 69% building modules 669/675 modules 6 active ...\node_modules\ querystringify\i 69% building modules 670/675 modules 5 active ...\node_modules\ querystringify\i 69% building modules 670/676 modules 6 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 671/676 modules 5 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 672/676 modules 4 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 673/676 modules 3 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 674/676 modules 2 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 675/676 modules 1 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 675/677 modules 2 active ...ar\compiler\src\mlparser\ xml 69% building modules 675/678 modules 3 active ...mon\src\location\platform loca 69% building modules 675/679 modules 4 active ...mon\src\location\location stra 69% building modules 675/680 modules 5 active ...rc\location\pathlocation stra 69% building modules 675/681 modules 6 active ...rc\location\hashlocation stra 69% building modules 675/682 modules 7 active ...lar\common\src\directives\ ng_c 69% building modules 675/683 modules 8 active ...ngular\common\src\ directives\n 69% building modules 675/684 modules 9 active ...gular\common\src\ directives\ng 69% building modules 675/685 modules 10 active ...ar\common\src\directives\ ngp 69% building modules 675/686 modules 11 active ...lar\common\src\directives\ng 68% building modules 675/687 modules 12 active ...ar\common\src\directives\ ngs 68% building modules 675/688 modules 13 active ...\src\directives\ng templateo 68% building modules 676/688 modules 12 active ...\src\directives\ng templateo 69% building modules 677/688 modules 11 active ...\src\directives\ng templateo 68% building modules 677/689 modules 12 active ...ngular\common\src\pipes\ async 68% building modules 677/690 modules 13 active ...gular\common\src\location\loc 68% building modules 677/691 modules 14 active ...angular\common\src\pipes\ date 68% building modules 677/692 modules 15 active ...ar\common\src\pipes\ lowercase 68% building modules 677/693 modules 16 active ...\common\src\pipes\i18n plural 68% building modules 677/694 modules 17 active ...angular\common\src\pipes\ json 68% building modules 677/695 modules 18 active ...\common\src\pipes\i18n select 68% building modules 677/696 modules 19 active ...ar\common\src\pipes\ uppercase 68% building modules 677/697 modules 20 active ...gular\common\src\pipes\ number 68% building modules 677/698 modules 21 active ...ngular\common\src\pipes\ slice 68% building modules 678/698 modules 20 active ...ngular\common\src\pipes\ slice 68% building modules 679/698 modules 19 active ...ngular\common\src\pipes\ slice 68% building modules 680/698 modules 18 active ...ngular\common\src\pipes\ slice 68% building modules 681/698 modules 17 active ...ngular\common\src\pipes\ slice 68% building modules 682/698 modules 16 active ...ngular\common\src\pipes\ slice 68% building modules 683/698 modules 15 active ...ngular\common\src\pipes\ slice 68% building modules 684/698 modules 14 active ...ngular\common\src\pipes\ slice 68% building modules 685/698 modules 13 active ...ngular\common\src\pipes\ slice 68% building modules 686/698 modules 12 active ...ngular\common\src\pipes\ slice 69% building modules 687/698 modules 11 active ...ngular\common\src\pipes\ slice 69% building modules 688/698 modules 10 active ...ngular\common\src\pipes\ slice 69% building modules 689/698 modules 9 active ...ngular\common\src\pipes\ slice 69% building modules 690/698 modules 8 active ...ngular\common\src\pipes\ slice 69% building modules 691/698 modules 7 active ...ngular\common\src\pipes\ slice 69% building modules 692/698 modules 6 active ...ngular\common\src\pipes\ slice_ 69% building modules 692/699 modules 7 active ...omponents101\node_modules\ ms\i 69% building modules 693/699 modules 6 active ...omponents101\node_modules\ ms\i 69% building modules 694/699 modules 5 active ...omponents101\node_modules\ ms\i 69% building modules 695/699 modules 4 active ...omponents101\node_modules\ ms\i 69% building modules 696/699 modules 3 active ...omponents101\node_modules\ ms\i 69% building modules 697/699 modules 2 active ...omponents101\node_modules\ ms\i 69% building modules 698/699 modules 1 active ...omponents101\nodemodules\ ms\i 69% building modules 698/700 modules 2 active ...r\src\i18n\serializers\ placeho 69% building modules 699/700 modules 1 active ...r\src\i18n\serializers\ placeho 69% building modules 699/701 modules 2 active ...lar\common\src\private import_ 69% building modules 699/702 modules 3 active ...\pipes\invalidpipe argument_e 69% building modules 699/703 modules 4 active ...les\@angular\common\src\ pipes\ 69% building modules 699/704 modules 5 active ...es\@angular\common\src\ facade\ 69% building modules 699/705 modules 6 active ...gular\common\src\facade\ collec 69% building modules 700/705 modules 5 active ...gular\common\src\facade\ collec 69% building modules 701/705 modules 4 active ...gular\common\src\facade\ collec 69% building modules 702/705 modules 3 active ...gular\common\src\facade\ collec 69% building modules 703/705 modules 2 active ...gular\common\src\facade\ collec 69% building modules 704/705 modules 1 active ...les\@angular\common\src\ pipes\ 69% building modules 705/706 modules 1 active ...\@angular\common\src\ facade\er Hash: 20824c54ec7e8d4bdfa5 Time: 22446ms chunk {0} polyfills.bundle.js, polyfills.bundle.map (polyfills) 234 kB {4} [i nitial] [rendered] chunk {1} main.bundle.js, main.bundle.map (main) 8.1 kB {3} [initial] [render ed] chunk {2} styles.bundle.js, styles.bundle.map (styles) 9.71 kB {4} [initial] [rendered] chunk {3} vendor.bundle.js, vendor.bundle.map (vendor) 2.68 MB [initial] [ren dered] chunk {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rende red]
ERROR in C:/Users/PRINCE/code/components101/src/app/app.module.ts (9,41): Cannot find module '@angular/platform-browser/animations'.
ERROR in Error: Error encountered resolving symbol values statically. Could not resolve @angular/platform-browser/animations relative to C:/Users/PRINCE/code/co mponents101/src/app/app.module.ts., resolving symbol AppModule in C:/Users/PRINC E/code/components101/src/app/app.module.ts, resolving symbol AppModule in C:/Use rs/PRINCE/code/components101/src/app/app.module.ts at SyntaxError.BaseError [as constructor] (C:\Users\PRINCE\code\ components10 1\node_modules\@angular\compiler\bundles\compiler.umd.js:1597:31) at new SyntaxError (C:\Users\PRINCE\code\components101\node_modules\@
angular \compiler\bundles\compiler.umd.js:1795:20) at simplifyInContext (C:\Users\PRINCE\code\components101\node_modules\@ angul ar\compiler\bundles\compiler.umd.js:25774:27) at StaticReflector.simplify (C:\Users\PRINCE\code\ components101\node_modules \@angular\compiler\bundles\compiler.umd.js:25786:17) at StaticReflector.annotations (C:\Users\PRINCE\code\ components101\node_modu les\@angular\compiler\bundles\compiler.umd.js:25282:64) at _getNgModuleMetadata (C:\Users\PRINCE\code\ components101\node_modules\@an gular\compiler-cli\src\ngtools_impl.js:126:31) at _extractLazyRoutesFromStaticModule (C:\Users\PRINCE\code\ components101\no de_modules\@angular\compiler-cli\src\ngtools_impl.js:101:26) at Object.listLazyRoutesOfModule (C:\Users\PRINCE\code\ components101\node_mo dules\@angular\compiler-cli\src\ngtools_impl.js:52:22) at Function.NgTools_InternalApi_NG_2.listLazyRoutes (C:\Users\PRINCE\code\co mponents101\node_modules\@angular\compiler-cli\src\ngtools_api.js:78:39) at AotPlugin._getLazyRoutesFromNgtools (C:\Users\PRINCE\code\ components101\n ode_modules\@ngtools\webpack\src\plugin.js:240:66) at _donePromise.Promise.resolve.then.then.then.then.then (C:\Users\PRINCE\co de\components101\node_modules\@ngtools\webpack\src\plugin.js:493:24) at
at process._tickCallback (internal/process/next_tick.js:188:7) ERROR in C:/Users/PRINCE/code/components101/src/app/app.module.ts (9,41): Cannot find module '@angular/platform-browser/animations'.
ERROR in ./src/app/app.module.ts Module not found: Error: Can't resolve '@angular/platform-browser/ animations' in 'C:\Users\PRINCE\code\components101\src\app' @ ./src/app/app.module.ts 14:0-79 @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:4200/ ./src/main.ts webpack: Failed to compile.
On 19 March 2018 at 22:32, shaolinshaosson notifications@github.com wrote:
Hm, could be your typescript version is to old. angular/angular-cli#5693 (comment) https://github.com/angular/angular-cli/issues/5693# issuecomment-292755576
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/devyumao/angular2-busy/issues/92# issuecomment-374288147, or mute the thread https://github.com/notifications/unsubscribe-auth/ AbH27JoUQrSoCJ5E3IocVXP6hcxO5_9eks5tf-SogaJpZM4SweM2 .
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/devyumao/angular2-busy/issues/92#issuecomment-374300375, or mute the thread https://github.com/notifications/unsubscribe-auth/AbH27EMTIIEFSlZ_u9SJlVawFAzXLwFIks5tf-z-gaJpZM4SweM2 .
sir pls explain me i cannot understand where the mistake arise
On 19 March 2018 at 23:18, RAJKUMAR MAJI notifications@github.com wrote:
I cannot find where this syntaxerror occur
On 19 March 2018 at 23:08, RAJKUMAR MAJI notifications@github.com wrote:
Run this command npm install --save typescript@latest but same issue arise
63% building modules 553/615 modules 62 active ...ler\src\compiler_util\ binding 64% building modules 554/615 modules 61 active ...ler\src\compiler_util\ binding 64% building modules 555/615 modules 60 active ...ler\src\compiler_util\ binding 64% building modules 556/615 modules 59 active ...ler\src\compiler_util\ binding 64% building modules 557/615 modules 58 active ...ler\src\compiler_util\ binding 64% building modules 558/615 modules 57 active ...ler\src\compiler_util\ binding 64% building modules 559/615 modules 56 active ...ler\src\compilerutil\ binding 64% building modules 559/616 modules 57 active ...e\src\animation\view animatio 64% building modules 560/616 modules 56 active ...e\src\animation\view animatio 64% building modules 561/616 modules 55 active ...e\src\animation\view animatio 64% building modules 562/616 modules 54 active ...e\src\animation\view animatio 64% building modules 563/616 modules 53 active ...e\src\animation\view animatio 64% building modules 564/616 modules 52 active ...e\src\animation\view animatio 65% building modules 565/616 modules 51 active ...e\src\animation\view animatio 65% building modules 566/616 modules 50 active ...e\src\animation\view animatio 65% building modules 567/616 modules 49 active ...e\src\animation\view animatio 65% building modules 568/616 modules 48 active ...e\src\animation\view animatio 65% building modules 569/616 modules 47 active ...e\src\animation\view animatio 65% building modules 570/616 modules 46 active ...e\src\animation\view animatio 65% building modules 571/616 modules 45 active ...e\src\animation\view animatio 65% building modules 572/616 modules 44 active ...e\src\animation\view animatio 65% building modules 573/616 modules 43 active ...e\src\animation\view animatio 65% building modules 574/616 modules 42 active ...e\src\animation\view animatio 66% building modules 575/616 modules 41 active ...e\src\animation\view animatio 66% building modules 576/616 modules 40 active ...e\src\animation\view animatio 66% building modules 577/616 modules 39 active ...e\src\animation\view animatio 66% building modules 578/616 modules 38 active ...e\src\animation\view animatio 66% building modules 579/616 modules 37 active ...e\src\animation\view animatio 66% building modules 580/616 modules 36 active ...e\src\animation\view animatio 66% building modules 581/616 modules 35 active ...e\src\animation\view animatio 66% building modules 582/616 modules 34 active ...e\src\animation\view animatio 66% building modules 583/616 modules 33 active ...e\src\animation\view animatio 66% building modules 584/616 modules 32 active ...e\src\animation\view animatio 66% building modules 585/616 modules 31 active ...e\src\animation\view animatio 67% building modules 586/616 modules 30 active ...e\src\animation\view animatio 67% building modules 587/616 modules 29 active ...e\src\animation\view animatio 67% building modules 588/616 modules 28 active ...e\src\animation\view animatio 67% building modules 589/616 modules 27 active ...e\src\animation\view animatio 67% building modules 590/616 modules 26 active ...e\src\animation\view animatio 67% building modules 591/616 modules 25 active ...e\src\animation\view animatio 67% building modules 592/616 modules 24 active ...e\src\animation\view animatio 67% building modules 593/616 modules 23 active ...e\src\animation\view animatio 67% building modules 594/616 modules 22 active ...e\src\animation\view animatio 67% building modules 595/616 modules 21 active ...e\src\animation\view animatio 67% building modules 595/617 modules 22 active ...ules\sockjs-client\lib\ info-i 67% building modules 596/617 modules 21 active ...ules\sockjs-client\lib\ info-i 67% building modules 596/618 modules 22 active ...e_modules\sockjs-client\ lib\f 67% building modules 596/619 modules 23 active ...js-client\lib\info-iframe-rec 67% building modules 596/620 modules 24 active ...les\sockjs-client\lib\ utils\i 67% building modules 596/621 modules 25 active ...lient\lib\transport\lib\ ajax- 67% building modules 596/622 modules 26 active ...odules\sockjs-client\lib\ info 67% building modules 597/622 modules 25 active ...odules\sockjs-client\lib\ info 67% building modules 597/623 modules 26 active ...ts101\node_modules\json3\ lib\ 67% building modules 598/623 modules 25 active ...ts101\node_modules\json3\ lib\ 67% building modules 599/623 modules 24 active ...ts101\node_modules\json3\ lib\ 67% building modules 600/623 modules 23 active ...ts101\node_modules\json3\ lib\ 67% building modules 601/623 modules 22 active ...ts101\node_modules\json3\ lib\ 67% building modules 602/623 modules 21 active ...ts101\node_modules\json3\ lib\ 68% building modules 603/623 modules 20 active ...ts101\node_modules\json3\ lib\ 68% building modules 604/623 modules 19 active ...ts101\node_modules\json3\ lib\ 68% building modules 605/623 modules 18 active ...ts101\node_modules\json3\ lib\ 68% building modules 606/623 modules 17 active ...ts101\node_modules\json3\ lib\ 68% building modules 607/623 modules 16 active ...ts101\node_modules\json3\ lib\ 68% building modules 607/624 modules 17 active ...sockjs-client\lib\ transport\i 68% building modules 607/625 modules 18 active ...modules\@angular\common\ src\c 68% building modules 608/625 modules 17 active ...modules\@angular\common\ src\c 68% building modules 608/626 modules 18 active ...\lib\transport\lib\sender-rec 68% building modules 609/626 modules 17 active ...\lib\transport\lib\sender-rec 68% building modules 610/626 modules 16 active ...\lib\transport\lib\sender-rec 68% building modules 610/627 modules 17 active ...ient\lib\transport\sender\xhr 68% building modules 610/628 modules 18 active ...ient\lib\transport\sender\xhr 68% building modules 610/629 modules 19 active ...js-client\lib\transport\ sende 68% building modules 610/630 modules 20 active ...-client\lib\transport\ sender\ 68% building modules 610/631 modules 21 active ...ent\lib\transport\sender\ xhr- 67% building modules 610/632 modules 22 active ...nt\lib\transport\receiver\htm 67% building modules 610/633 modules 23 active ...lib\transport\receiver\ events 67% building modules 610/634 modules 24 active ...-client\lib\transport\ receive 67% building modules 610/635 modules 25 active ...lient\lib\transport\ receiver\ 67% building modules 611/635 modules 24 active ...lient\lib\transport\ receiver\ 67% building modules 612/635 modules 23 active ...lient\lib\transport\ receiver\ 67% building modules 613/635 modules 22 active ...lient\lib\transport\ receiver\ 68% building modules 614/635 modules 21 active ...lient\lib\transport\ receiver\ 68% building modules 615/635 modules 20 active ...lient\lib\transport\ receiver\ 68% building modules 615/636 modules 21 active ...nt\lib\transport\browser\ webs 68% building modules 616/636 modules 20 active ...nt\lib\transport\browser\ webs 68% building modules 617/636 modules 19 active ...nt\lib\transport\browser\ webs 68% building modules 618/636 modules 18 active ...nt\lib\transport\browser\ webs 68% building modules 619/636 modules 17 active ...nt\lib\transport\browser\ webs 68% building modules 620/636 modules 16 active ...nt\lib\transport\browser\ webs 68% building modules 620/637 modules 17 active ...\node_modules\rxjs\util\ isFun 68% building modules 620/638 modules 18 active ...ents101\node_modules\rxjs\Obs 68% building modules 621/638 modules 17 active ...ents101\node_modules\rxjs\Obs 68% building modules 622/638 modules 16 active ...ents101\node_modules\rxjs\Obs 68% building modules 623/638 modules 15 active ...ents101\node_modules\rxjs\Obs 68% building modules 624/638 modules 14 active ...ents101\node_modules\rxjs\Obs 68% building modules 625/638 modules 13 active ...ents101\node_modules\rxjs\Obs 68% building modules 626/638 modules 12 active ...ents101\node_modules\rxjs\Obs 68% building modules 627/638 modules 11 active ...ents101\node_modules\rxjs\Obs 69% building modules 628/638 modules 10 active ...ents101\node_modules\rxjs\Obs 69% building modules 629/638 modules 9 active ...ents101\node_modules\rxjs\ Obse 69% building modules 630/638 modules 8 active ...ents101\node_modules\rxjs\ Obse 69% building modules 631/638 modules 7 active ...ents101\node_modules\rxjs\ Obse 69% building modules 632/638 modules 6 active ...ents101\node_modules\rxjs\ Obse 69% building modules 632/639 modules 7 active ...101\node_modules\rxjs\util\isA 69% building modules 632/640 modules 8 active ...01\node_modules\rxjs\util\ isOb 69% building modules 632/641 modules 9 active ...01\node_modules\rxjs\util\ tryC 69% building modules 632/642 modules 10 active ...node_modules\rxjs\util\ errorO 68% building modules 632/643 modules 11 active ...ules\rxjs\util\ Unsubscription 68% building modules 632/644 modules 12 active ...nts101\node_modules\rxjs\ util 68% building modules 633/644 modules 11 active ...nts101\node_modules\rxjs\ util 69% building modules 634/644 modules 10 active ...nts101\node_modules\rxjs\ util 69% building modules 635/644 modules 9 active ...nts101\node_modules\rxjs\ util\ 69% building modules 636/644 modules 8 active ...nts101\node_modules\rxjs\ util\ 69% building modules 636/645 modules 9 active ...compiler\src\i18n\ extractor_me 69% building modules 636/646 modules 10 active ...mpiler\src\i18n\ translationb 68% building modules 636/647 modules 11 active ...gular\compiler\src\ml parser\ 68% building modules 636/648 modules 12 active ...ler\src\output\abstract_js_em 68% building modules 636/649 modules 13 active ...ler\src\view_compiler\ compile 68% building modules 636/650 modules 14 active ...r\src\view_compiler\ compile_m 68% building modules 636/651 modules 15 active ...er\src\viewcompiler\ compile 68% building modules 636/652 modules 16 active ...ar\compiler\src\view_ compiler 68% building modules 636/653 modules 17 active ...ler\src\view_compiler\ event_b 68% building modules 636/654 modules 18 active ...ler\src\view_compiler\ query_b 68% building modules 636/655 modules 19 active ...mpiler\src\view_compiler\ cons 68% building modules 636/656 modules 20 active ...src\view_compiler\ lifecycle_b 68% building modules 636/657 modules 21 active ...\src\view_compiler\ property_b 67% building modules 636/658 modules 22 active ...\@angular\compiler\src\ i18n\d 67% building modules 636/659 modules 23 active ...\compiler\src\ml_parser\ xml_p 67% building modules 636/660 modules 24 active ...er\src\i18n\serializers\ xml_h 67% building modules 636/661 modules 25 active ...odules\webpack\buildin\amd-op 67% building modules 636/662 modules 26 active ...ts101\node_modules\debug\ src\ 67% building modules 636/663 modules 27 active ...gular\compiler\src\i18n\ parse 67% building modules 636/664 modules 28 active ...angular\compiler\src\i18n\i18 67% building modules 637/664 modules 27 active ...angular\compiler\src\i18n\i18 67% building modules 638/664 modules 26 active ...angular\compiler\src\i18n\i18 67% building modules 639/664 modules 25 active ...angular\compiler\src\i18n\i18 67% building modules 640/664 modules 24 active ...angular\compiler\src\i18n\i18 67% building modules 641/664 modules 23 active ...angular\compiler\src\i18n\i18 68% building modules 642/664 modules 22 active ...angular\compiler\src\i18n\i18 68% building modules 643/664 modules 21 active ...angular\compiler\src\i18n\i18 68% building modules 644/664 modules 20 active ...angular\compiler\src\i18n\i18 68% building modules 645/664 modules 19 active ...angular\compiler\src\i18n\i18 68% building modules 646/664 modules 18 active ...angular\compiler\src\i18n\i18 68% building modules 647/664 modules 17 active ...angular\compiler\src\i18n\i18 68% building modules 648/664 modules 16 active ...angular\compiler\src\i18n\i18 68% building modules 649/664 modules 15 active ...angular\compiler\src\i18n\i18 68% building modules 650/664 modules 14 active ...angular\compiler\src\i18n\i18 68% building modules 651/664 modules 13 active ...angular\compiler\src\i18n\i18 68% building modules 652/664 modules 12 active ...angular\compiler\src\i18n\i18 69% building modules 653/664 modules 11 active ...angular\compiler\src\i18n\i18 69% building modules 654/664 modules 10 active ...angular\compiler\src\i18n\i18 69% building modules 655/664 modules 9 active ...angular\compiler\src\i18n\ i18n 69% building modules 656/664 modules 8 active ...angular\compiler\src\i18n\ i18n 69% building modules 657/664 modules 7 active ...angular\compiler\src\i18n\ i18n 69% building modules 658/664 modules 6 active ...angular\compiler\src\i18n\ i18n 69% building modules 658/665 modules 7 active ...s-client\lib\transport\lib\pol 69% building modules 658/666 modules 8 active ...\lib\transport\lib\ buffered-se 69% building modules 658/667 modules 9 active ...s\@angular\common\src\ localiza 69% building modules 658/668 modules 10 active ...\@angular\common\src\ common_m 69% building modules 658/669 modules 11 active ...odules\@angular\common\src\ve 69% building modules 659/669 modules 10 active ...odules\@angular\common\src\ve 69% building modules 659/670 modules 11 active ...1\node_modules\requires- port\ 69% building modules 660/670 modules 10 active ...1\node_modules\requires- port\ 69% building modules 661/670 modules 9 active ...1\node_modules\requires- port\i 69% building modules 662/670 modules 8 active ...1\node_modules\requires- port\i 69% building modules 663/670 modules 7 active ...1\node_modules\requires- port\i 69% building modules 664/670 modules 6 active ...1\node_modules\requires- port\i 69% building modules 664/671 modules 7 active ...lib\transport\browser\ abstract 69% building modules 664/672 modules 8 active ...@angular\common\src\ location\i 69% building modules 664/673 modules 9 active ...ngular\common\src\ directives\i 69% building modules 664/674 modules 10 active ...es\@angular\common\src\ pipes\ 69% building modules 664/675 modules 11 active ...\node_modules\ querystringify\ 69% building modules 665/675 modules 10 active ...\node_modules\ querystringify\ 69% building modules 666/675 modules 9 active ...\node_modules\ querystringify\i 69% building modules 667/675 modules 8 active ...\node_modules\ querystringify\i 69% building modules 668/675 modules 7 active ...\node_modules\ querystringify\i 69% building modules 669/675 modules 6 active ...\node_modules\ querystringify\i 69% building modules 670/675 modules 5 active ...\node_modules\ querystringify\i 69% building modules 670/676 modules 6 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 671/676 modules 5 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 672/676 modules 4 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 673/676 modules 3 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 674/676 modules 2 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 675/676 modules 1 active ...ular\compiler\src\i18n\ i18n_pa 69% building modules 675/677 modules 2 active ...ar\compiler\src\mlparser\ xml 69% building modules 675/678 modules 3 active ...mon\src\location\platform loca 69% building modules 675/679 modules 4 active ...mon\src\location\location stra 69% building modules 675/680 modules 5 active ...rc\location\pathlocation stra 69% building modules 675/681 modules 6 active ...rc\location\hashlocation stra 69% building modules 675/682 modules 7 active ...lar\common\src\directives\ ng_c 69% building modules 675/683 modules 8 active ...ngular\common\src\ directives\n 69% building modules 675/684 modules 9 active ...gular\common\src\ directives\ng 69% building modules 675/685 modules 10 active ...ar\common\src\directives\ ngp 69% building modules 675/686 modules 11 active ...lar\common\src\directives\ng 68% building modules 675/687 modules 12 active ...ar\common\src\directives\ ngs 68% building modules 675/688 modules 13 active ...\src\directives\ng templateo 68% building modules 676/688 modules 12 active ...\src\directives\ng templateo 69% building modules 677/688 modules 11 active ...\src\directives\ng templateo 68% building modules 677/689 modules 12 active ...ngular\common\src\pipes\ async 68% building modules 677/690 modules 13 active ...gular\common\src\location\loc 68% building modules 677/691 modules 14 active ...angular\common\src\pipes\ date 68% building modules 677/692 modules 15 active ...ar\common\src\pipes\ lowercase 68% building modules 677/693 modules 16 active ...\common\src\pipes\i18n plural 68% building modules 677/694 modules 17 active ...angular\common\src\pipes\ json 68% building modules 677/695 modules 18 active ...\common\src\pipes\i18n select 68% building modules 677/696 modules 19 active ...ar\common\src\pipes\ uppercase 68% building modules 677/697 modules 20 active ...gular\common\src\pipes\ number 68% building modules 677/698 modules 21 active ...ngular\common\src\pipes\ slice 68% building modules 678/698 modules 20 active ...ngular\common\src\pipes\ slice 68% building modules 679/698 modules 19 active ...ngular\common\src\pipes\ slice 68% building modules 680/698 modules 18 active ...ngular\common\src\pipes\ slice 68% building modules 681/698 modules 17 active ...ngular\common\src\pipes\ slice 68% building modules 682/698 modules 16 active ...ngular\common\src\pipes\ slice 68% building modules 683/698 modules 15 active ...ngular\common\src\pipes\ slice 68% building modules 684/698 modules 14 active ...ngular\common\src\pipes\ slice 68% building modules 685/698 modules 13 active ...ngular\common\src\pipes\ slice 68% building modules 686/698 modules 12 active ...ngular\common\src\pipes\ slice 69% building modules 687/698 modules 11 active ...ngular\common\src\pipes\ slice 69% building modules 688/698 modules 10 active ...ngular\common\src\pipes\ slice 69% building modules 689/698 modules 9 active ...ngular\common\src\pipes\ slice 69% building modules 690/698 modules 8 active ...ngular\common\src\pipes\ slice 69% building modules 691/698 modules 7 active ...ngular\common\src\pipes\ slice 69% building modules 692/698 modules 6 active ...ngular\common\src\pipes\ slice_ 69% building modules 692/699 modules 7 active ...omponents101\node_modules\ ms\i 69% building modules 693/699 modules 6 active ...omponents101\node_modules\ ms\i 69% building modules 694/699 modules 5 active ...omponents101\node_modules\ ms\i 69% building modules 695/699 modules 4 active ...omponents101\node_modules\ ms\i 69% building modules 696/699 modules 3 active ...omponents101\node_modules\ ms\i 69% building modules 697/699 modules 2 active ...omponents101\node_modules\ ms\i 69% building modules 698/699 modules 1 active ...omponents101\nodemodules\ ms\i 69% building modules 698/700 modules 2 active ...r\src\i18n\serializers\ placeho 69% building modules 699/700 modules 1 active ...r\src\i18n\serializers\ placeho 69% building modules 699/701 modules 2 active ...lar\common\src\private import_ 69% building modules 699/702 modules 3 active ...\pipes\invalidpipe argument_e 69% building modules 699/703 modules 4 active ...les\@angular\common\src\ pipes\ 69% building modules 699/704 modules 5 active ...es\@angular\common\src\ facade\ 69% building modules 699/705 modules 6 active ...gular\common\src\facade\ collec 69% building modules 700/705 modules 5 active ...gular\common\src\facade\ collec 69% building modules 701/705 modules 4 active ...gular\common\src\facade\ collec 69% building modules 702/705 modules 3 active ...gular\common\src\facade\ collec 69% building modules 703/705 modules 2 active ...gular\common\src\facade\ collec 69% building modules 704/705 modules 1 active ...les\@angular\common\src\ pipes\ 69% building modules 705/706 modules 1 active ...\@angular\common\src\ facade\er Hash: 20824c54ec7e8d4bdfa5 Time: 22446ms chunk {0} polyfills.bundle.js, polyfills.bundle.map (polyfills) 234 kB {4} [i nitial] [rendered] chunk {1} main.bundle.js, main.bundle.map (main) 8.1 kB {3} [initial] [render ed] chunk {2} styles.bundle.js, styles.bundle.map (styles) 9.71 kB {4} [initial] [rendered] chunk {3} vendor.bundle.js, vendor.bundle.map (vendor) 2.68 MB [initial] [ren dered] chunk {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rende red]
ERROR in C:/Users/PRINCE/code/components101/src/app/app.module.ts (9,41): Cannot find module '@angular/platform-browser/animations'.
ERROR in Error: Error encountered resolving symbol values statically. Could not resolve @angular/platform-browser/animations relative to C:/Users/PRINCE/code/co mponents101/src/app/app.module.ts., resolving symbol AppModule in C:/Users/PRINC E/code/components101/src/app/app.module.ts, resolving symbol AppModule in C:/Use rs/PRINCE/code/components101/src/app/app.module.ts at SyntaxError.BaseError [as constructor] (C:\Users\PRINCE\code\ components10 1\node_modules\@angular\compiler\bundles\compiler.umd.js:1597:31) at new SyntaxError (C:\Users\PRINCE\code\components101\node_modules\@
angular \compiler\bundles\compiler.umd.js:1795:20) at simplifyInContext (C:\Users\PRINCE\code\components101\node_modules\@ angul ar\compiler\bundles\compiler.umd.js:25774:27) at StaticReflector.simplify (C:\Users\PRINCE\code\ components101\node_modules \@angular\compiler\bundles\compiler.umd.js:25786:17) at StaticReflector.annotations (C:\Users\PRINCE\code\ components101\node_modu les\@angular\compiler\bundles\compiler.umd.js:25282:64) at _getNgModuleMetadata (C:\Users\PRINCE\code\ components101\node_modules\@an gular\compiler-cli\src\ngtools_impl.js:126:31) at _extractLazyRoutesFromStaticModule (C:\Users\PRINCE\code\ components101\no de_modules\@angular\compiler-cli\src\ngtools_impl.js:101:26) at Object.listLazyRoutesOfModule (C:\Users\PRINCE\code\ components101\node_mo dules\@angular\compiler-cli\src\ngtools_impl.js:52:22) at Function.NgTools_InternalApi_NG_2.listLazyRoutes (C:\Users\PRINCE\code\co mponents101\node_modules\@angular\compiler-cli\src\ngtools_api.js:78:39) at AotPlugin._getLazyRoutesFromNgtools (C:\Users\PRINCE\code\ components101\n ode_modules\@ngtools\webpack\src\plugin.js:240:66) at _donePromise.Promise.resolve.then.then.then.then.then (C:\Users\PRINCE\co de\components101\node_modules\@ngtools\webpack\src\plugin.js:493:24) at
at process._tickCallback (internal/process/next_tick.js:188:7) ERROR in C:/Users/PRINCE/code/components101/src/app/app.module.ts (9,41): Cannot find module '@angular/platform-browser/animations'.
ERROR in ./src/app/app.module.ts Module not found: Error: Can't resolve '@angular/platform-browser/ animations' in 'C:\Users\PRINCE\code\components101\src\app' @ ./src/app/app.module.ts 14:0-79 @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:4200/ ./src/main.ts webpack: Failed to compile.
On 19 March 2018 at 22:32, shaolinshaosson notifications@github.com wrote:
Hm, could be your typescript version is to old. angular/angular-cli#5693 (comment) https://github.com/angular/angular-cli/issues/5693# issuecomment-292755576
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/devyumao/angular2-busy/issues/92# issuecomment-374288147, or mute the thread https://github.com/notifications/unsubscribe-auth/ AbH27JoUQrSoCJ5E3IocVXP6hcxO5_9eks5tf-SogaJpZM4SweM2 .
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/devyumao/angular2-busy/issues/92# issuecomment-374300375, or mute the thread https://github.com/notifications/unsubscribe-auth/AbH27EMTIIEFSlZ_ u9SJlVawFAzXLwFIks5tf-z-gaJpZM4SweM2
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/devyumao/angular2-busy/issues/92#issuecomment-374304125, or mute the thread https://github.com/notifications/unsubscribe-auth/AbH27LxQ1cVT61EBwZ5bhAK5TsDhULAFks5tf-9WgaJpZM4SweM2 .
explain me
sir i cannot found if you resolve this issue
try npm install '@angular/animations' -- save Doesn't seem you have all the packages installed correctly, try the above command and/or post your package.json so people can have a look
62% building modules 550/623 modules 73 active ...\lib\transport\lib\sender-rec 63% building modules 551/623 modules 72 active ...\lib\transport\lib\sender-rec 62% building modules 551/624 modules 73 active ...sockjs-client\lib\transport\i 62% building modules 551/625 modules 74 active ...js-client\lib\transport\sende 62% building modules 551/626 modules 75 active ...ient\lib\transport\sender\xhr 62% building modules 551/627 modules 76 active ...ent\lib\transport\sender\xhr- 62% building modules 551/628 modules 77 active ...ient\lib\transport\sender\xhr 62% building modules 551/629 modules 78 active ...-client\lib\transport\sender\ 62% building modules 552/629 modules 77 active ...-client\lib\transport\sender\ 62% building modules 553/629 modules 76 active ...-client\lib\transport\sender\ 62% building modules 554/629 modules 75 active ...-client\lib\transport\sender\ 62% building modules 554/630 modules 76 active ...-client\lib\transport\receive 62% building modules 554/631 modules 77 active ...lib\transport\receiver\events 62% building modules 554/632 modules 78 active ...nt\lib\transport\receiver\htm 62% building modules 554/633 modules 79 active ...lient\lib\transport\receiver\ 62% building modules 555/633 modules 78 active ...lient\lib\transport\receiver\ 62% building modules 556/633 modules 77 active ...lient\lib\transport\receiver\ 62% building modules 557/633 modules 76 active ...lient\lib\transport\receiver\ 62% building modules 558/633 modules 75 active ...lient\lib\transport\receiver\ 62% building modules 559/633 modules 74 active ...lient\lib\transport\receiver\ 63% building modules 560/633 modules 73 active ...lient\lib\transport\receiver\ 63% building modules 561/633 modules 72 active ...lient\lib\transport\receiver\ 63% building modules 562/633 modules 71 active ...lient\lib\transport\receiver\ 63% building modules 563/633 modules 70 active ...lient\lib\transport\receiver\ 63% building modules 564/633 modules 69 active ...lient\lib\transport\receiver\ 63% building modules 565/633 modules 68 active ...lient\lib\transport\receiver\ 63% building modules 566/633 modules 67 active ...lient\lib\transport\receiver\ 63% building modules 567/633 modules 66 active ...lient\lib\transport\receiver\ 63% building modules 568/633 modules 65 active ...lient\lib\transport\receiver\ 63% building modules 569/633 modules 64 active ...lient\lib\transport\receiver\ 64% building modules 570/633 modules 63 active ...lient\lib\transport\receiver\ 64% building modules 571/633 modules 62 active ...lient\lib\transport\receiver\ 64% building modules 572/633 modules 61 active ...lient\lib\transport\receiver\ 64% building modules 573/633 modules 60 active ...lient\lib\transport\receiver\ 64% building modules 574/633 modules 59 active ...lient\lib\transport\receiver\ 64% building modules 575/633 modules 58 active ...lient\lib\transport\receiver\ 64% building modules 576/633 modules 57 active ...lient\lib\transport\receiver\ 64% building modules 577/633 modules 56 active ...lient\lib\transport\receiver\ 64% building modules 578/633 modules 55 active ...lient\lib\transport\receiver\ 64% building modules 579/633 modules 54 active ...lient\lib\transport\receiver\ 64% building modules 580/633 modules 53 active ...lient\lib\transport\receiver\ 65% building modules 581/633 modules 52 active ...lient\lib\transport\receiver\ 65% building modules 582/633 modules 51 active ...lient\lib\transport\receiver\ 65% building modules 583/633 modules 50 active ...lient\lib\transport\receiver\ 65% building modules 584/633 modules 49 active ...lient\lib\transport\receiver\ 65% building modules 585/633 modules 48 active ...lient\lib\transport\receiver\ 65% building modules 586/633 modules 47 active ...lient\lib\transport\receiver\ 65% building modules 587/633 modules 46 active ...lient\lib\transport\receiver\ 65% building modules 588/633 modules 45 active ...lient\lib\transport\receiver\ 65% building modules 589/633 modules 44 active ...lient\lib\transport\receiver\ 65% building modules 590/633 modules 43 active ...lient\lib\transport\receiver\ 66% building modules 591/633 modules 42 active ...lient\lib\transport\receiver\ 66% building modules 592/633 modules 41 active ...lient\lib\transport\receiver\ 66% building modules 593/633 modules 40 active ...lient\lib\transport\receiver\ 66% building modules 594/633 modules 39 active ...lient\lib\transport\receiver\ 66% building modules 595/633 modules 38 active ...lient\lib\transport\receiver\ 66% building modules 596/633 modules 37 active ...lient\lib\transport\receiver\ 66% building modules 597/633 modules 36 active ...lient\lib\transport\receiver\ 66% building modules 598/633 modules 35 active ...lient\lib\transport\receiver\ 66% building modules 599/633 modules 34 active ...lient\lib\transport\receiver\ 66% building modules 599/634 modules 35 active ...nt\lib\transport\browser\webs 66% building modules 600/634 modules 34 active ...nt\lib\transport\browser\webs 66% building modules 601/634 modules 33 active ...nt\lib\transport\browser\webs 66% building modules 602/634 modules 32 active ...nt\lib\transport\browser\webs 67% building modules 603/634 modules 31 active ...nt\lib\transport\browser\webs 67% building modules 604/634 modules 30 active ...nt\lib\transport\browser\webs 67% building modules 605/634 modules 29 active ...nt\lib\transport\browser\webs 67% building modules 606/634 modules 28 active ...nt\lib\transport\browser\webs 67% building modules 607/634 modules 27 active ...nt\lib\transport\browser\webs 67% building modules 608/634 modules 26 active ...nt\lib\transport\browser\webs 67% building modules 609/634 modules 25 active ...nt\lib\transport\browser\webs 67% building modules 610/634 modules 24 active ...nt\lib\transport\browser\webs 67% building modules 611/634 modules 23 active ...nt\lib\transport\browser\webs 67% building modules 612/634 modules 22 active ...nt\lib\transport\browser\webs 68% building modules 613/634 modules 21 active ...nt\lib\transport\browser\webs 68% building modules 614/634 modules 20 active ...nt\lib\transport\browser\webs 68% building modules 615/634 modules 19 active ...nt\lib\transport\browser\webs 68% building modules 616/634 modules 18 active ...nt\lib\transport\browser\webs 68% building modules 617/634 modules 17 active ...nt\lib\transport\browser\webs 68% building modules 618/634 modules 16 active ...nt\lib\transport\browser\webs 68% building modules 619/634 modules 15 active ...nt\lib\transport\browser\webs 68% building modules 620/634 modules 14 active ...nt\lib\transport\browser\webs 68% building modules 620/635 modules 15 active ...e\src\animation\view_animatio 68% building modules 620/636 modules 16 active ...modules\@angular\common\src\c 68% building modules 621/636 modules 15 active ...modules\@angular\common\src\c 68% building modules 622/636 modules 14 active ...modules\@angular\common\src\c 68% building modules 623/636 modules 13 active ...modules\@angular\common\src\c 68% building modules 624/636 modules 12 active ...modules\@angular\common\src\c 68% building modules 625/636 modules 11 active ...modules\@angular\common\src\c 69% building modules 626/636 modules 10 active ...modules\@angular\common\src\c 69% building modules 627/636 modules 9 active ...modules\@angular\common\src\co 69% building modules 628/636 modules 8 active ...modules\@angular\common\src\co 69% building modules 629/636 modules 7 active ...modules\@angular\common\src\co 69% building modules 630/636 modules 6 active ...modules\@angular\common\src\co 69% building modules 631/636 modules 5 active ...modules\@angular\common\src\co 69% building modules 632/636 modules 4 active ...modules\@angular\common\src\co 69% building modules 633/636 modules 3 active ...modules\@angular\common\src\co 69% building modules 634/636 modules 2 active ...modules\@angular\common\src\co 69% building modules 634/637 modules 3 active ...odules\webpack\buildin\amd-opt 69% building modules 634/638 modules 4 active ...ts101\node_modules\debug\src\d 69% building modules 635/638 modules 3 active ...ts101\node_modules\debug\src\d 69% building modules 636/638 modules 2 active ...ts101\node_modules\debug\src\d 69% building modules 636/639 modules 3 active ...101\node_modules\rxjs\util\isA 69% building modules 636/640 modules 4 active ...01\node_modules\rxjs\util\isOb 69% building modules 636/641 modules 5 active ...\node_modules\rxjs\util\isFunc 69% building modules 636/642 modules 6 active ...01\node_modules\rxjs\util\tryC 69% building modules 636/643 modules 7 active ...node_modules\rxjs\util\errorOb 69% building modules 636/644 modules 8 active ...ules\rxjs\util\UnsubscriptionE 69% building modules 636/645 modules 9 active ...ents101\node_modules\rxjs\Obse 69% building modules 636/646 modules 10 active ...compiler\src\i18n\extractor_m 68% building modules 636/647 modules 11 active ...mpiler\src\i18n\translation_b 68% building modules 636/648 modules 12 active ...gular\compiler\src\ml_parser\ 68% building modules 636/649 modules 13 active ...ler\src\output\abstract_js_em 68% building modules 636/650 modules 14 active ...r\src\view_compiler\compile_m 68% building modules 636/651 modules 15 active ...er\src\viewcompiler\compile 68% building modules 636/652 modules 16 active ...mpiler\src\view_compiler\cons 68% building modules 636/653 modules 17 active ...ar\compiler\src\view_compiler 68% building modules 636/654 modules 18 active ...ler\src\view_compiler\compile 68% building modules 636/655 modules 19 active ...ler\src\view_compiler\event_b 68% building modules 636/656 modules 20 active ...src\view_compiler\lifecycle_b 68% building modules 636/657 modules 21 active ...\src\view_compiler\property_b 67% building modules 636/658 modules 22 active ...ler\src\view_compiler\query_b 67% building modules 636/659 modules 23 active ...nts101\node_modules\rxjs\util 67% building modules 636/660 modules 24 active ...\compiler\src\ml_parser\xml_p 67% building modules 636/661 modules 25 active ...\@angular\compiler\src\i18n\d 67% building modules 636/662 modules 26 active ...angular\compiler\src\i18n\i18 67% building modules 636/663 modules 27 active ...gular\compiler\src\i18n\parse 67% building modules 636/664 modules 28 active ...er\src\i18n\serializers\xml_h 67% building modules 637/664 modules 27 active ...er\src\i18n\serializers\xml_h 67% building modules 638/664 modules 26 active ...er\src\i18n\serializers\xml_h 67% building modules 638/665 modules 27 active ...\lib\transport\lib\buffered-s 67% building modules 638/666 modules 28 active ...s-client\lib\transport\lib\po 67% building modules 638/667 modules 29 active ...1\node_modules\requires-port\ 67% building modules 638/668 modules 30 active ...\node_modules\querystringify\ 67% building modules 638/669 modules 31 active ...lib\transport\browser\abstrac 67% building modules 639/669 modules 30 active ...lib\transport\browser\abstrac 67% building modules 640/669 modules 29 active ...lib\transport\browser\abstrac 67% building modules 641/669 modules 28 active ...lib\transport\browser\abstrac 67% building modules 642/669 modules 27 active ...lib\transport\browser\abstrac 67% building modules 643/669 modules 26 active ...lib\transport\browser\abstrac 67% building modules 644/669 modules 25 active ...lib\transport\browser\abstrac 67% building modules 645/669 modules 24 active ...lib\transport\browser\abstrac 67% building modules 646/669 modules 23 active ...lib\transport\browser\abstrac 68% building modules 647/669 modules 22 active ...lib\transport\browser\abstrac 68% building modules 648/669 modules 21 active ...lib\transport\browser\abstrac 68% building modules 649/669 modules 20 active ...lib\transport\browser\abstrac 68% building modules 650/669 modules 19 active ...lib\transport\browser\abstrac 68% building modules 651/669 modules 18 active ...lib\transport\browser\abstrac 68% building modules 652/669 modules 17 active ...lib\transport\browser\abstrac 68% building modules 653/669 modules 16 active ...lib\transport\browser\abstrac 68% building modules 654/669 modules 15 active ...lib\transport\browser\abstrac 68% building modules 655/669 modules 14 active ...lib\transport\browser\abstrac 68% building modules 656/669 modules 13 active ...lib\transport\browser\abstrac 68% building modules 657/669 modules 12 active ...lib\transport\browser\abstrac 69% building modules 658/669 modules 11 active ...lib\transport\browser\abstrac 69% building modules 659/669 modules 10 active ...lib\transport\browser\abstrac 69% building modules 660/669 modules 9 active ...lib\transport\browser\abstract 69% building modules 661/669 modules 8 active ...lib\transport\browser\abstract 69% building modules 662/669 modules 7 active ...lib\transport\browser\abstract 69% building modules 663/669 modules 6 active ...lib\transport\browser\abstract 69% building modules 664/669 modules 5 active ...lib\transport\browser\abstract 69% building modules 664/670 modules 6 active ...s\@angular\common\src\localiza 69% building modules 664/671 modules 7 active ...\@angular\common\src\common_mo 69% building modules 664/672 modules 8 active ...odules\@angular\common\src\ver 69% building modules 665/672 modules 7 active ...odules\@angular\common\src\ver 69% building modules 666/672 modules 6 active ...odules\@angular\common\src\ver 69% building modules 667/672 modules 5 active ...odules\@angular\common\src\ver 69% building modules 667/673 modules 6 active ...@angular\common\src\location\i 69% building modules 667/674 modules 7 active ...ngular\common\src\directives\i 69% building modules 667/675 modules 8 active ...es\@angular\common\src\pipes\i 69% building modules 668/675 modules 7 active ...es\@angular\common\src\pipes\i 69% building modules 669/675 modules 6 active ...es\@angular\common\src\pipes\i 69% building modules 670/675 modules 5 active ...es\@angular\common\src\pipes\i 69% building modules 671/675 modules 4 active ...es\@angular\common\src\pipes\i 69% building modules 672/675 modules 3 active ...es\@angular\common\src\pipes\i 69% building modules 672/676 modules 4 active ...ular\compiler\src\i18n\i18n_pa 69% building modules 673/676 modules 3 active ...ular\compiler\src\i18n\i18n_pa 69% building modules 674/676 modules 2 active ...ular\compiler\src\i18n\i18n_pa 69% building modules 675/676 modules 1 active ...ular\compiler\src\i18n\i18n_pa 69% building modules 675/677 modules 2 active ...ar\compiler\src\mlparser\xml 69% building modules 676/677 modules 1 active ...ar\compiler\src\mlparser\xml 69% building modules 677/678 modules 1 active ...mon\src\location\platform_loca 69% building modules 677/679 modules 2 active ...mon\src\location\location_stra 69% building modules 677/680 modules 3 active ...rc\location\hash_location_stra 69% building modules 677/681 modules 4 active ...rc\location\path_location_stra 69% building modules 677/682 modules 5 active ...gular\common\src\location\loca 69% building modules 677/683 modules 6 active ...lar\common\src\directives\ng_c 69% building modules 677/684 modules 7 active ...gular\common\src\directives\ng 69% building modules 677/685 modules 8 active ...ngular\common\src\directives\n 69% building modules 677/686 modules 9 active ...ar\common\src\directives\ngpl 69% building modules 677/687 modules 10 active ...lar\common\src\directives\ng 69% building modules 677/688 modules 11 active ...ar\common\src\directives\ng_s 68% building modules 677/689 modules 12 active ...\src\directives\ng_template_o 68% building modules 677/690 modules 13 active ...ngular\common\src\pipes\async 68% building modules 677/691 modules 14 active ...angular\common\src\pipes\date 68% building modules 677/692 modules 15 active ...\common\src\pipes\i18n_plural 68% building modules 677/693 modules 16 active ...\common\src\pipes\i18n_select 68% building modules 677/694 modules 17 active ...angular\common\src\pipes\json 68% building modules 677/695 modules 18 active ...ar\common\src\pipes\lowercase 68% building modules 677/696 modules 19 active ...gular\common\src\pipes\number 68% building modules 677/697 modules 20 active ...ngular\common\src\pipes\slice 68% building modules 677/698 modules 21 active ...ar\common\src\pipes\uppercase 68% building modules 677/699 modules 22 active ...omponents101\node_modules\ms\ 68% building modules 677/700 modules 23 active ...r\src\i18n\serializers\placeh 68% building modules 678/700 modules 22 active ...r\src\i18n\serializers\placeh 68% building modules 679/700 modules 21 active ...r\src\i18n\serializers\placeh 68% building modules 680/700 modules 20 active ...r\src\i18n\serializers\placeh 68% building modules 681/700 modules 19 active ...r\src\i18n\serializers\placeh 68% building modules 682/700 modules 18 active ...r\src\i18n\serializers\placeh 68% building modules 683/700 modules 17 active ...r\src\i18n\serializers\placeh 68% building modules 684/700 modules 16 active ...r\src\i18n\serializers\placeh 68% building modules 685/700 modules 15 active ...r\src\i18n\serializers\placeh 68% building modules 686/700 modules 14 active ...r\src\i18n\serializers\placeh 68% building modules 687/700 modules 13 active ...r\src\i18n\serializers\placeh 68% building modules 688/700 modules 12 active ...r\src\i18n\serializers\placeh 69% building modules 689/700 modules 11 active ...r\src\i18n\serializers\placeh 69% building modules 690/700 modules 10 active ...r\src\i18n\serializers\placeh 69% building modules 691/700 modules 9 active ...r\src\i18n\serializers\placeho 69% building modules 692/700 modules 8 active ...r\src\i18n\serializers\placeho 69% building modules 693/700 modules 7 active ...r\src\i18n\serializers\placeho 69% building modules 694/700 modules 6 active ...r\src\i18n\serializers\placeho 69% building modules 695/700 modules 5 active ...r\src\i18n\serializers\placeho 69% building modules 696/700 modules 4 active ...r\src\i18n\serializers\placeho 69% building modules 697/700 modules 3 active ...r\src\i18n\serializers\placeho 69% building modules 698/700 modules 2 active ...r\src\i18n\serializers\placeho 69% building modules 699/700 modules 1 active ...r\src\i18n\serializers\placeho 69% building modules 700/701 modules 1 active ...lar\common\src\privateimport 69% building modules 700/702 modules 2 active ...\pipes\invalid_pipe_argument_e 69% building modules 700/703 modules 3 active ...les\@angular\common\src\pipes\ 69% building modules 700/704 modules 4 active ...es\@angular\common\src\facade\ 69% building modules 700/705 modules 5 active ...gular\common\src\facade\collec 69% building modules 701/705 modules 4 active ...gular\common\src\facade\collec 69% building modules 702/705 modules 3 active ...gular\common\src\facade\collec 69% building modules 703/705 modules 2 active ...gular\common\src\facade\collec 69% building modules 704/705 modules 1 active ...gular\common\src\facade\collec 69% building modules 705/706 modules 1 active ...\@angular\common\src\facade\er Hash: d0ea0d123350dba05791 Time: 13284ms chunk {0} polyfills.bundle.js, polyfills.bundle.map (polyfills) 234 kB {4} [i nitial] [rendered] chunk {1} main.bundle.js, main.bundle.map (main) 8.19 kB {3} [initial] [rende red] chunk {2} styles.bundle.js, styles.bundle.map (styles) 9.71 kB {4} [initial] [rendered] chunk {3} vendor.bundle.js, vendor.bundle.map (vendor) 2.68 MB [initial] [ren dered] chunk {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rende red]
ERROR in C:/Users/PRINCE/code/components101/node_modules/@angular/animations/src /animation_metadata.d.ts (81,33): Initializers are not allowed in ambient contex ts.
ERROR in C:/Users/PRINCE/code/components101/node_modules/@angular/animations/src /private_export.d.ts (9,33): Initializers are not allowed in ambient contexts.
ERROR in C:/Users/PRINCE/code/components101/src/app/app.module.ts (9,41): Cannot find module '@angular/platform-browser/animations'.
ERROR in Error: Error encountered resolving symbol values statically. Could not resolve @angular/platform-browser/animations relative to C:/Users/PRINCE/code/co mponents101/src/app/app.module.ts., resolving symbol AppModule in C:/Users/PRINC E/code/components101/src/app/app.module.ts, resolving symbol AppModule in C:/Use rs/PRINCE/code/components101/src/app/app.module.ts at SyntaxError.BaseError [as constructor] (C:\Users\PRINCE\code\components10 1\node_modules\@angular\compiler\bundles\compiler.umd.js:1597:31) at new SyntaxError (C:\Users\PRINCE\code\components101\node_modules\@angular \compiler\bundles\compiler.umd.js:1795:20) at simplifyInContext (C:\Users\PRINCE\code\components101\node_modules\@angul ar\compiler\bundles\compiler.umd.js:25774:27) at StaticReflector.simplify (C:\Users\PRINCE\code\components101\node_modules \@angular\compiler\bundles\compiler.umd.js:25786:17) at StaticReflector.annotations (C:\Users\PRINCE\code\components101\node_modu les\@angular\compiler\bundles\compiler.umd.js:25282:64) at _getNgModuleMetadata (C:\Users\PRINCE\code\components101\node_modules\@an gular\compiler-cli\src\ngtools_impl.js:126:31) at _extractLazyRoutesFromStaticModule (C:\Users\PRINCE\code\components101\no de_modules\@angular\compiler-cli\src\ngtools_impl.js:101:26) at Object.listLazyRoutesOfModule (C:\Users\PRINCE\code\components101\node_mo dules\@angular\compiler-cli\src\ngtools_impl.js:52:22) at Function.NgTools_InternalApi_NG_2.listLazyRoutes (C:\Users\PRINCE\code\co mponents101\node_modules\@angular\compiler-cli\src\ngtools_api.js:78:39) at AotPlugin._getLazyRoutesFromNgtools (C:\Users\PRINCE\code\components101\n ode_modules\@ngtools\webpack\src\plugin.js:240:66) at _donePromise.Promise.resolve.then.then.then.then.then (C:\Users\PRINCE\co de\components101\node_modules\@ngtools\webpack\src\plugin.js:493:24) at
at process._tickCallback (internal/process/next_tick.js:188:7)
ERROR in C:/Users/PRINCE/code/components101/src/app/app.module.ts (9,41): Cannot find module '@angular/platform-browser/animations'.
ERROR in ./src/app/app.module.ts Module not found: Error: Can't resolve '@angular/platform-browser/animations' in 'C:\Users\PRINCE\code\components101\src\app' @ ./src/app/app.module.ts 17:0-79 @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:4200/ ./src/main.ts webpack: Failed to compile.