Angularjs 配置错误的npm

Angularjs 配置错误的npm,angularjs,node.js,typescript,npm,npm-install,Angularjs,Node.js,Typescript,Npm,Npm Install,我已经重新安装了npm,我正在尝试运行命令npm start,但是我得到如下消息。不幸的是,我的想法结束了。有人能帮我吗? 我安装了2.3.4版,但不起作用 @angular/compiler-cli@4.4.3 requires typescript@'>=2.1.0 <2.4.0' but 2.4.0 was found instead. Using this version can result in undefined behaviour and difficult to d

我已经重新安装了npm,我正在尝试运行命令npm start,但是我得到如下消息。不幸的是,我的想法结束了。有人能帮我吗? 我安装了2.3.4版,但不起作用

@angular/compiler-cli@4.4.3 requires typescript@'>=2.1.0 <2.4.0' but 2.4.0 was found instead.
Using this version can result in undefined behaviour and difficult to debug problems.

Please run the following command to install a compatible version of TypeScript.

npm install typescript@'>=2.1.0 <2.4.0'   
ERROR in C:/Users/Desktop/office/node_modules/frontend-components/lib/multi-application/dynamic-form/fields/employment-field/employment-field.component.ts (121,5): Type '{ averageIncome: FormControl; pensionerCardId: FormControl; companyName: FormControl; companyNip:...' is not assignable to type 'Options<FormControl>'.
Property 'name' is missing in type '{ averageIncome: FormControl; pensionerCardId: FormControl; companyName: FormControl; companyNip:...'.
ERROR in C:/Users/Desktop/office/backoffice/node_modules/fobos-frontend-components/lib/multi-application/dynamic-form/fields/employment-field/employment-field.component.ts (141,5): Type '{ averageIncome: false; pensionerCardId: false; companyName: false; companyNip: false; phoneNumbe...' is not assignable to type 'Options<boolean>'.
Property 'name' is missing in type '{ averageIncome: false; pensionerCardId: false; companyName: false; companyNip: false; phoneNumbe...'.
ERROR in C:/Users/Desktop/office/backoffice/src/app/campaigns/campaign-file/campaign-file.resolver.ts (59,5): Type '{ periodType: "Days"; startPeriod: number; endPeriod: number; startNetAmount: number; application...' is not assignable to type 'CampaignFinancialParameters'.
Property 'startPeriodType' is missing in type '{ periodType: "Days"; startPeriod: number; endPeriod: number; startNetAmount: number; application...'.

它在运行命令npm install typescript@'>=2.1.0返回的错误消息中说,响应是什么?此外,这只是为一个项目或全球安装。如果是全局的,请先尝试npm uninstall-g typescript(如果不是全局的),然后只尝试npm uninstall typescript(如果是全局的),然后使用npm install-g[package name/version]再次安装typescript(如果不是全局的),或者使用npm install[package name/version]再次安装typescript。这是正确答案,但不必降级。我已经运行并成功发布了使用比Angular版本高得多的TypeScript版本的应用程序。这是@AluanHaddad的一个好观点。那么,您认为还有其他依赖项在强制执行typescript版本限制吗?