Error TS1005: ';' expected. TypeScript Angular 6 For First Build error rxjs inside node_modules

后端 未结 18 1961
北恋
北恋 2021-01-31 13:37

I\'m building my first Angular Application. I\'m creating a new Angular application using this command ng new purchase-section. But when I executing the application

18条回答
  •  走了就别回头了
    2021-01-31 14:06

    Check your typescript version with below command.

    ~ tsc --version Version 3.3.3

    As this is the latest typescript version, I've upgraded the project angular version to 7 by running below command in project home folder. It solved the issue.

    ~]# ng update @angular/cli @angular/core

提交回复
热议问题