Angular材料7.3.1的Angular CLI错误

时间:2019-02-25 15:25:49

标签: angular angular-material angular-cli angular-material-7

我正在尝试在项目中使用Angular Material 7.3.1。前端是Angular,后端是ASP.NET。在下面,我列出了我使用的所有依赖项,但是我不断收到这些奇怪的错误消息(参见图片)。

我的package.json

my $new_desc = q|<![CDATA[
some html etc here
]]>|;

my $result = $ebay->submitRequest( "ReviseItem",
                      {
                       DetailLevel => "ReturnAll",
                       ErrorLevel => "1",
                       SiteId => "1",
                       Item => {
                         Description => $new_desc,
                         ItemID => 253430606975
                       },
                       ItemID => 253430606975
                      }) || die;

角度信息:

"dependencies": {
    "@angular/common": "^7.0.0",
    "@angular/compiler": "^7.0.0",
    "@angular/core": "^7.0.0",
    "@angular/forms": "^7.0.0",
    "@angular/http": "^7.0.0",
    "@angular/platform-browser": "^7.0.0",
    "@angular/platform-browser-dynamic": "^7.0.0",
    "@angular/router": "^7.0.0",
    "@angular/service-worker": "^7.0.0",
    "@angularclass/hmr": "^2.1.3",
    "@types/moment": "^2.13.0",
    "angular-froala-wysiwyg": "^2.8.5",
    "bcryptjs": "^2.4.3",
    "bootstrap": "4.1.3",
    "core-js": "^2.5.7",
    "font-awesome": "^4.7.0",
    "jquery": "^3.3.1",
    "lodash": "^4.17.11",
    "moment": "^2.22.2",
    "qs": "^6.5.2",
    "rxjs": "^6.3.3",
    "tether": "1.4.5",
    "zone.js": "^0.8.26",
    "@aspnet/signalr": "^1.1.2",
    "@nguniversal/module-map-ngfactory-loader": "^5.0.0",
    "aspnet-prerendering": "^3.0.1"
  },
  "devDependencies": {
    "@angular/cli": "7.0.2",
    "@angular/compiler-cli": "^7.0.0",
    "@angular/language-service": "^7.0.0",
    "@types/express": "^4.16.0",
    "@types/jasmine": "~2.8.9",
    "@types/jasminewd2": "~2.0.5",
    "@types/jquery": "^3.3.21",
    "@types/lodash": "^4.14.117",
    "@types/mongoose": "^5.2.19",
    "@types/morgan": "^1.7.35",
    "@types/node": "~10.12.0",
    "all-contributors-cli": "^5.4.1",
    "codelyzer": "~4.5.0",
    "concurrently": "^4.0.1",
    "jasmine-core": "~3.2.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^2.0.4",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^1.3.1",
    "protractor": "~5.4.1",
    "ts-node": "^7.0.1",
    "tslint": "~5.11.0",
    "typescript": "^3.1.3",
    "@angular-devkit/build-angular": "~0.10.2"
  }

错误: Error message

但是,如果我使用材料5.2.5,它确实可以工作。但是,我需要一些仅在较新版本中可用的功能。以下是我用于Material 5.2.5的依赖项:

Angular CLI: 7.0.2
Node: 11.10.0
OS: win32 x64
Angular: 7.2.6

我尝试了一切,但没有任何效果,如果有人需要更多信息,请询问。

0 个答案:

没有答案