Не удалось добавить Angular/Material на веб-сайт маркетингового мероприятия Dynamics365, который по умолчанию установлен на Angular

Я попытался добавить Angular / Material на веб-сайт маркетинговых мероприятий Dynamics365, который по умолчанию установлен на Angular, но это не удалось, пожалуйста, помогите мне в этом

Вот файл Package.JSON приложения Angular

      {
  "name": "client-app",
  "version": "1.34.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "8.2.14",
    "@angular/cdk": "8.1.1",
    "@angular/common": "8.2.14",
    "@angular/compiler": "8.2.14",
    "@angular/core": "8.2.14",
    "@angular/forms": "8.2.14",
    "@angular/material": "^8.1.1",
    "@angular/platform-browser": "8.2.14",
    "@angular/platform-browser-dynamic": "8.2.14",
    "@angular/router": "8.2.14",
    "@ng-bootstrap/ng-bootstrap": "5.0.0",
    "@types/jquery": "3.3.1",
    "bootstrap": "4.4.1",
    "core-js": "3.1.4",
    "font-awesome": "4.7.0",
    "jquery": "3.5.1",
    "msal": "0.2.3",
    "popper.js": "1.16.1",
    "rxjs": "6.5.4",
    "tree-kill": "1.2.2",
    "tslib": "1.10.0",
    "yargs-parser": "15.0.1",
    "zone.js": "0.9.1"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "0.803.29",
    "@angular/cli": "8.3.29",
    "@angular/compiler-cli": "8.2.14",
    "@angular/language-service": "8.2.14",
    "@types/node": "13.9.1",
    "codelyzer": "5.2.1",
    "lodash": "4.17.21",
    "set-value": "2.0.1",
    "ts-node": "5.0.1",
    "tslint": "5.16.0",
    "typescript": "3.5.1"
  }
}

Ошибка, которую я получил после запуска ng add @angular/material

      UPDATE package.json (1319 bytes)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\@angular\compiler-cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})    
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})     
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})    
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})    

updated 1 package and audited 1159 packages in 15.02s

67 packages are looking for funding
  run `npm fund` for details

found 28 vulnerabilities (13 moderate, 15 high)
  run `npm audit fix` to fix them, or `npm audit` for details
Cannot read property 'endTag' of null

После этого я попытался добавить компоненты материала, но это не сработало

0 ответов

Другие вопросы по тегам