admin管理员组文章数量:1245895
Im using angular in my project so I faced this issue I tried to downgrade my typscript to 3.9.7 but still not working here is my package.json dpendencies.
"private": true,
"dependencies": {
"@angular-devkit/core": "^10.1.3",
"@angular-devkit/schematics": "^10.1.3",
"@angular-material-ponents/datetime-picker": "^4.0.2",
"@angular/animations": "^10.1.3",
"@angular/cdk": "^10.0.0",
"@angular/mon": "^10.1.3",
"@angular/piler": "~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",
can someone give me an idea to solve this issue
Im using angular in my project so I faced this issue I tried to downgrade my typscript to 3.9.7 but still not working here is my package.json dpendencies.
"private": true,
"dependencies": {
"@angular-devkit/core": "^10.1.3",
"@angular-devkit/schematics": "^10.1.3",
"@angular-material-ponents/datetime-picker": "^4.0.2",
"@angular/animations": "^10.1.3",
"@angular/cdk": "^10.0.0",
"@angular/mon": "^10.1.3",
"@angular/piler": "~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",
can someone give me an idea to solve this issue
Share Improve this question edited Sep 28, 2020 at 12:50 Kindth asked Sep 27, 2020 at 1:15 KindthKindth 3371 gold badge9 silver badges33 bronze badges4 Answers
Reset to default 10For me a reinstall with the latest versions helped:
npm remove @angular/material @angular/cdk
npm i @angular/material@latest @angular/cdk@latest
Replace npm with yarn in case you have yarn.
Add this to tsconfig.json:
{
"pilerOptions": {
"skipLibCheck": true
}
}
For more information follow the link: https://github./akveo/nebular/issues/2501#issuement-960650663
If you have npm version 8, try downgrading to an older version. It fixed the problem for me.
I removed material folder and I install npm install @angular/material@^10.1.3 and downgrade @angular/core to 10.1.3 I created new project with the latest version of angular and I copy the cell.d.ts file and paste it in my project & thats working now
版权声明:本文标题:javascript - ERROR in node_modules@angularmaterialtablecell.d.ts -Typescript version problem angular - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1740240598a2247278.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论