gpt4 book ai didi

javascript - node_modules/@angular/material/table/cell.d.ts 中的错误 -Typescript 版本问题 Angular

转载 作者:行者123 更新时间:2023-12-04 14:39:37 25 4
gpt4 key购买 nike

我在我的项目中使用了 angular,所以我遇到了这个问题package.json 依赖项。

    "private": true,
"dependencies": {
"@angular-devkit/core": "^10.1.3",
"@angular-devkit/schematics": "^10.1.3",
"@angular-material-components/datetime-picker": "^4.0.2",
"@angular/animations": "^10.1.3",
"@angular/cdk": "^10.0.0",
"@angular/common": "^10.1.3",
"@angular/compiler": "~10.1.3",
"@angular/core": "^10.1.3",
"@angular/forms": "^10.1.3",
"@angular/google-maps": "^10.0.1",
"@angular/material": "^10.0.0",
"@angular/platform-browser": "^10.1.3",
"@angular/platform-browser-dynamic": "~10.1.3",
"@angular/router": "^10.1.3",
"@angular/typescript": "^2.0.0-5d0e199",
"@auth0/angular-jwt": "^4.0.0",
有人可以给我一个想法来解决这个问题吗
enter image description here

最佳答案

对我来说,使用最新版本重新安装有帮助:

npm remove @angular/material @angular/cdk
npm i @angular/material@latest @angular/cdk@latest
如果您有 yarn ,请用 yarn 替换 npm。

关于javascript - node_modules/@angular/material/table/cell.d.ts 中的错误 -Typescript 版本问题 Angular ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64083915/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com