Topic: Peer Dependencies update

Milad Rezazadeh free asked 4 years ago


Expected behavior When we are working with angular 11, we have an issue regarding incompatibilities with your peer dependencies. when we change it manually from node_module then it will be fine, but every time we need to change node_module's peerDependencies for your package. or embed it into other package. so both of them are not good solution. Actual behavior Upgrade to angular 11 for your main branch or at least set your peerDependencies to angular 11 in other branch that we can use it. Resources (screenshots, code snippets etc.)

{
  "name": "ng-uikit-pro-standard",
  "version": "11.0.0",
  "files": [
    "assets/**/*",
    "bundles/**/*",
    "esm5/**/*",
    "esm2015/**/*",
    "fesm5/**/*",
    "fesm2015/**/*",
    "lib/**/*",
    "schematics/**/*",
    ".gitignore",
    "changelog",
    "license.pdf",
    "ng-uikit-pro-standard.d.ts",
    "ng-uikit-pro-standard.metadata.json",
    "package.json",
    "public_api.d.ts"
  ],
  "dependencies": {
    "tslib": "^2.0.3"
  },
  "peerDependencies": {
    "@angular/common": "~11.0.0", /* it was 10, I changed manually then it is working */
    "@angular/core": "~11.0.0",
    "@angular/animations": "~11.0.0",
    "@angular/forms": "~11.0.0",
    "@angular/cdk": "^11.0.0"
  },
  "schematics": "./schematics/collection.json",
  "ng-update": {
    "migrations": "./schematics/migration.json"
  },
  "main": "bundles/ng-uikit-pro-standard.umd.js",
  "module": "fesm5/ng-uikit-pro-standard.js",
  "es2015": "fesm2015/ng-uikit-pro-standard.js",
  "esm5": "esm5/ng-uikit-pro-standard.js",
  "esm2015": "esm2015/ng-uikit-pro-standard.js",
  "fesm5": "fesm5/ng-uikit-pro-standard.js",
  "fesm2015": "fesm2015/ng-uikit-pro-standard.js",
  "typings": "ng-uikit-pro-standard.d.ts",
  "metadata": "ng-uikit-pro-standard.metadata.json",
  "sideEffects": false
}

Arkadiusz Idzikowski staff answered 4 years ago


MDB Angular v10 is created for Angular 10 and is not compatible with Angular 11.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 10.0.0
  • Device: Labtop
  • Browser: Chrome
  • OS: MacOs
  • Provided sample code: No
  • Provided link: No