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

后端 未结 18 2358
北恋
北恋 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:01

    Seems like your Angular and/or rxjs version is not compatible with TypeScript.

    Remove the ~ sign in the TypeScript version, add ^ instead. Then, install packages again.

    Try running npm start and ng build prior to ng serve.

提交回复
热议问题