我刚刚运行了代码NPM安装--保存@Angulation/Material@Angulation/animations.
{
"name": "cerpnew",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^4.4.6",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/material": "^2.0.0-beta.12",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/router": "^4.2.4",
"@types/angular-material": "^1.1.54",
"angular-2-dropdown-multiselect": "^1.6.0",
"angular-2-local-storage": "^1.0.1",
"bootstrap": "^3.3.7",
"bootstrap-select": "^1.12.4",
"core-js": "^2.4.1",
"jquery": "^3.2.1",
"ng-checkbox": "^1.0.2",
"ng2-bootstrap-modal": "^1.0.1",
"ng2-daterangepicker": "^2.0.10",
"react-datepicker": "^0.55.0",
"rxjs": "^5.4.2",
"select-picker": "^0.3.1",
"sweetalert": "^2.0.5",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "1.4.5",
"@angular/compiler-cli": "^4.2.4",
"@angular/language-service": "^4.2.4",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/jquery": "^3.2.13",
"@types/node": "~6.0.60",
"codelyzer": "~3.2.0",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-node": "~3.2.0",
"tslint": "~5.7.0",
"typescript": "~2.3.3"
}
}
E:/Angular2/cerpnew/node_modules/@Angular/Material/chips/typings/chipp.d.ts(8,33)中的错误:找不到模块“@Angular/cdk/a11y”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/chips/typings/chip-list.d.ts(8,33)中的错误:找不到模块“@Angular/cdk/a11y”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/chips/typings/chip-list.d.ts(9,32)中的错误:找不到模块“@Angulation/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/chips/typings/chip-list.d.ts(10,32)中的错误:找不到模块'@Angulation/cdk/collect ions'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/Dialog/Typings/Dialog-config.d.ts(9,27)中的错误:找不到模块“@Angulation/cdk/bid i”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/Dialog/Typings/Dialog-Container.d.ts(10,86)中的错误:找不到模块“@Angulation/cdk/portal”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/Dialog/Typings/Dialog-Container.d.ts(11,34)中的错误:找不到模块“@Angulation/CDK/A11Y”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/Dialog/Typings/Dialog-ref.d.ts(8,28)中的错误:找不到模块'@Angulation/cdk/overla y'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/Dialog/Typings/Dialog.d.ts(1,62)中的错误:找不到模块“@Angulation/cdk/overlay”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/Dialog/typings/dialog.d.ts(2,31)中的错误:找不到模块“@Angulation/cdk/portal”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/datepicker/typings/datepicker.d.ts(8,32)中的错误:找不到模块“@Angulal/cdk/bi di”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/datepicker/typings/datepicker.d.ts中的错误(9,67):找不到模块“@Angulal/cdk/ov erlay”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/Expansion/typings/accordion-item.d.ts(9,43)中的错误:找不到模块“@Angulation/cdk/collections”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/Expansion/Typings/Expansion-Panel.D.TS(2,43)中的错误:找不到模块“@Angulation/CD k/Collections”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/Expansion/Typings/Expansion-Panel-Header.d.ts(1,30)中的错误:找不到模块'@Ang ular/cdk/a11y'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/grid-list/typings/grid-list.d.ts(10,32)中的错误:找不到模块“@Angulation/cdk/bid i”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/input/typings/autosize.d.ts(9,26)中的错误:找不到模块“@Angulation/cdk/platform”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/input/typings/input.d.ts(10,26)中的错误:找不到模块“@Angulation/cdk/platform”。E:/angular2/cerpnew/node_modules/@angular/Material/list/typings/selection-list.d.ts(8,50)中的错误:找不到模块'@angular/cdk/a11y'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/list/typings/selection-list.d.ts(9,32)中的错误:找不到模块“@Angulation/cdk/coll contions”。E:/angular2/cerpnew/node_modules/@angular/material/menu/typings/menu-item.d.ts(8,33)中的错误:找不到模块'@angular/cdk/a11y'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/menu/typings/menu-panel.d.ts(10,27)中的错误:找不到模块“@Angulation/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/menu/typings/menu-directive.d.ts(9,27)中的错误:找不到模块“@Angulation/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/menu/typings/menu-trigger.d.ts(1,43)中的错误:找不到模块'@Angulation/cdk/bidi'。
E:/Angular2/cerpnew/node_modules/@Angulation/Material/menu/typings/menu-trigger.d.ts(2,67)中的错误:找不到模块'@Angulation/cdk/overla y'。E:/Angular2/cerpnew/node_modules/@Angular/Material/progress-spinner/typings/progress-spinner.d.ts(10,26)中的错误:找不到模块“@a ngular/cdk/platform”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/radio/typings/radio.d.ts(11,43)中的错误:找不到模块“@Angulation/cdk/collections”。E:/Angular2/cerpnew/node_modules/@Angular/Material/radio/typings/radio.d.ts(12,30)中的错误:找不到模块“@Angular/cdk/a11y”。E:/angular2/cerpnew/node_modules/@angular/Material/select/typings/select.d.ts(8,44)中的错误:找不到模块'@angular/cdk/a11y'。e:/angular2/cerpnew/node_modules/@angular/material/core/typings/ripple/ripple.d.ts(9,26)中的错误:找不到模块“@angular/cdk/platf orm”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/select/typings/select.d.ts(10,32)中的错误:找不到模块“@Angulation/cdk/collectio ns”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/select/typings/select.d.ts(11,109)中的错误:找不到模块“@Angulation/cdk/overlay”。E:/angular2/cerpnew/node_modules/@angular/material/sidenav/typings/drawer中的错误。d.ts(9,34):找不到模块'@angular/cdk/a11y'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/sidenav/typings/drawer中的错误。D.TS(10,32):找不到模块“@Angulation/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/slide-toggle/typings/slide-toggle.d.ts(9,26)中的错误:找不到模块“@Angulal/cd k/platform”。E:/Angular2/CerpNew/Node_Modules/@Angulal/Material/Slide-Toggle/Typings/Slide-Toggle.D.TS(12,30)中的错误:找不到模块'@Angulal/C DK/A11Y'。E:/Angular2/cerpnew/node_modules/@Angular/Material/slider/typings/slider.d.ts(8,32)中的错误:找不到模块“@Angular/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/slider/typings/slider.d.ts(12,30)中的错误:找不到模块“@Angular/cdk/a11y”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/snack-bar/typings/snack-bar-config.d.ts(9,36)中的错误:找不到模块'@Angulation/c dk/a11y'。e:/angular2/cerpnew/node_modules/@angull/material/snack-bar/typings/snack-bar-config.d.ts(10,27)中的错误:找不到模块'@angull/cdk/bidi'。e:/angular2/cerpnew/node_modules/@angular/material/snack-bar/typings/snack-bar-container.d.ts(10,70)中的错误:找不到模块'@angular/cdk/portal'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/snack-bar/typings/snack-bar-ref.d.ts(8,28)中的错误:找不到模块“@Angulation/cdk/overlay”。E:/angular2/cerpnew/node_modules/@angular/material/snack-bar/typings/snack-bar.d.ts(8,31)中的错误:找不到模块'@angular/cdk/a11y'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/snack-bar/typings/snack-bar.d.ts(9,25)中的错误:找不到模块'@Angulation/cdk/over lay'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/snack-bar/typings/snack-bar.d.ts(10,31)中的错误:找不到模块“@Angulation/cdk/por tal”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/sort/typings/sort-header中的错误。D.TS(9,30):找不到模块“@Angulation/cdk/table”。
E:/Angular2/cerpnew/node_modules/@Angulation/Material/stepper/typings/step-label.d.ts(9,30)中的错误:找不到模块“@Angulation/cdk/stepp er”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/stepper/typings/stepper.d.ts(1,37)中的错误:找不到模块“@Angulation/cdk/stepper”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/stepper/typings/stepper-button中的错误。D.TS(1,52):找不到模块'@Angulal/cdk/s tepper'。E:/Angular2/cerpnew/node_modules/@Angulal/Material/stepper/typings/step-header.d.ts(8,30)中的错误:找不到模块'@Angular/cdk/a11y'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/table/typings/cell.d.ts(9,84)中的错误:找不到模块“@Angulation/cdk/table”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/table/typings/table中的错误。D.TS(1,26):找不到模块“@Angulation/cdk/table”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/table/typings/row.d.ts(1,66)中的错误:找不到模块“@Angulation/cdk/table”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tabs/typings/tab-label.d.ts(9,41)中的错误:找不到模块“@Angulation/cdk/portal”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tabs/typings/tab.d.ts(8,32)中的错误:找不到模块“@Angulation/cdk/portal”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tabs/typings/tab-body.d.ts(10,53)中的错误:找不到模块“@Angulation/cdk/portal”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tabs/typings/tab-body.d.ts(11,43)中的错误:找不到模块“@Angulation/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tabs/typings/tab-header.d.ts(8,43)中的错误:找不到模块“@Angulation/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tabs/typings/tab-header.d.ts(13,31)中的错误:找不到模块'@Angulation/cdk/scrolli ng'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(8,32)中的错误:找不到模块“@Angulation/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(9,26)中的错误:找不到模块“@Angulation/cdk/platform”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts(10,31)中的错误:找不到模块“@Angula r/cdk/scrolling”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/tooltip/typings/tooltip.d.ts(9,31)中的错误:找不到模块“@Angular/cdk/a11y”。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tooltip/typings/tooltip.d.ts(10,32)中的错误:找不到模块“@Angulation/cdk/bidi”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/tooltip/typings/tooltip.d.ts(11,156)中的错误:找不到模块“@Angulal/cdk/overla y”。E:/Angular2/cerpnew/node_modules/@Angulal/Material/tooltip/typings/tooltip.d.ts(12,26)中的错误:找不到模块'@Angulal/cdk/platfor m'。E:/Angular2/cerpnew/node_modules/@Angulation/Material/tooltip/typings/tooltip.d.ts(13,34)中的错误:找不到模块“@Angulation/cdk/scrolli ng”。错误中的错误:静态解析符号值时遇到错误。无法解析@Angular2/cer pnew/node_modules/@Angul/Material/checkbox/typings/index.d.ts.相对于e://Angular2/cerpnew/node_modules/@Angular/Material/checkbox/typings/index.d.ts中的符号MatCheckboxModule,解析syntaxError(E:\Angular2\cerpnew\node_modules\@Angular\compiler\bundles\compiler.umd.js:1729:34)在new\node_modules\@Angul\compiler\bundles\compiler.umd.js:25118:23)在staticreflector.simplifile(E:\Angular2\cerpnew\node_modules\@Angul\compiler\bundles\@Angul\compiler\bundles\compiler.umd.js:25130:13)在staticreflector.annotations(E:\Angular2\cerpnew\compiler\bundles\compiler.umd.js:25130:13)在YRoutesFromStaticModule(E:\Angular2\CerpNew\Node_Modules\@Angulation\compiler-cli\src\ngtools_impl.js:109:26)在E:\angular2\cerpnew\node_modules\@angul\compiler-cli\src\ngtools_impl.js:129:27在Array.reduce()在_extractlazyroutesfromstaticmodule(E:\angular2\cerpnew\node_modules\@anguln\node_impl.js:128:10)在function.ngtools_internalapi_ng_2.listlazyroutes(E:\Angular2\cerpnew\node_modules\@Angul\compiler-cli\src\ngtools_api.js:91:39)在aotplugin._getlazyroutesfrommngtools(E:\Angular2\cerpnew\node_modules\@ngtools\webpnew\node_modules\@ngtools\webpack\src\plugin.js:207:44)在._tickcallback(internal/process/next_tick.js:188:7)
您应该安装neccessary@angull/cdk库以正确使用最新的@angull/Material。
您可以通过命令这样做:
npm install --save @angular/material @angular/cdk
致命错误:Uncaught ArgumentCounter错误:array_merge()不接受C:\xampp\htdocs\wp includes\widgets中的未知命名参数。php:1265堆栈跟踪:#0 C:\xampp\htdocs\wp includes\widgets.php(1265):array_merge(wp_inactive_widgets:array,sidebar-
我在电脑上做一个规则8项目。但现在需要安装angular 10T运行另一个项目。 因此,我在全球范围内安装了新版本: 新的角10项目现在工作,但是角8项目没有开始。它在启动时抛出一个错误。 发生未处理的异常:找不到模块'@angular devkit/build angular/package'。json“需要堆栈: > C:\用户\mm\AppData\漫游\npm\node_modules@a
我在Angular 5中构建了一个动态表单组件(基于https://angular.io/guide/dynamic-form的留档和示例)。 一切正常,直到我尝试使用有棱角的材料。 我在这里读过很多关于类似问题的文章,但它们似乎都是因为人们没有导入正确的模块,或者没有使用mdInput或mat Input而不是matInput。我遇到的问题并非如此。 任何想法或建议将不胜感激。 已更改代码-因错
失败:生成失败,出现异常。 出了什么问题:任务'执行失败:app: check DebugAarMetadata'。 发生多个任务操作失败:执行com时发生故障。Android建筑格雷德尔。内部的任务。CheckAarMetadataWorkAction
我刚给我的团结项目加了火药。当试图在我的android平板电脑上构建这个项目时,我得到了一个Gradle构建失败的错误。我已经尝试了多个设备,但不确定是什么问题。我提供了以下错误: CommandInvokationFailure:Gradle构建失败。C:\程序文件\Unity\hub\editor\data\playbackengines\androidplayer/tools\openJDK
我想在使用angle-cli的Angular 2应用程序中使用bootstrap材质设计。 引导材料设计(V4)使用SASS。为了使它在Angular 2中工作,我需要使用sass-loader。但是我没有找到任何解决方案来使Angulal-cli使用sass-loader,因为webpack配置不能被覆盖(据我所知)。 在使用Angular cli的Angular2应用程序中,是否有使用