Giter VIP home page Giter VIP logo

Comments (8)

ceyhunn avatar ceyhunn commented on August 14, 2024 1

Hi @carlabruti , you can use --force if you don't want to uninstall, re-install.

from angular-material-components.

shalltalk avatar shalltalk commented on August 14, 2024 1

See this #53
Looks like for now this problem is fixed in 4.0.0 and up. Wish it could be fixed in previous versions so that it works angular 8&9.

from angular-material-components.

h2qutc avatar h2qutc commented on August 14, 2024

Hi, can you provide un example of your package.json please ?

from angular-material-components.

ceyhunn avatar ceyhunn commented on August 14, 2024

Hi @h2qutc ,

"dependencies": {
        "@agm/core": "1.1.0",
        "@angular-material-components/datetime-picker": "^2.0.4",
        "@angular/animations": "9.1.1",
        "@angular/cdk": "9.2.0",
        "@angular/common": "9.1.1",
        "@angular/compiler": "9.1.1",
        "@angular/core": "9.1.1",
        "@angular/flex-layout": "9.0.0-beta.29",
        "@angular/forms": "9.1.1",
        "@angular/material": "9.2.0",
        "@angular/material-moment-adapter": "9.2.0",
        "@angular/platform-browser": "9.1.1",
        "@angular/platform-browser-dynamic": "9.1.1",
        "@angular/router": "9.1.1",
        "@angular/service-worker": "9.1.1",
        "@ngx-translate/core": "12.0.0",
        "@swimlane/ngx-datatable": "17.0.0",
        "@types/prismjs": "1.16.0",
        "angular-calendar": "0.28.2",
        "angular-in-memory-web-api": "0.9.0",
        "angular-resizable-element": "3.2.4",
        "prismjs": "1.19.0",
        "rxjs": "6.5.5",
        "tslib": "^1.10.0",
        "web-animations-js": "2.3.2",
        "zone.js": "0.10.2"
    },
    "devDependencies": {
        "@angular-devkit/build-angular": "0.901.1",
        "@angular/cli": "9.1.1",
        "@angular/compiler-cli": "9.1.1",
        "@angular/language-service": "9.1.1",
        "@angularclass/hmr": "2.1.3",
        "@types/jasmine": "3.5.2",
        "@types/jasminewd2": "2.0.8",
        "@types/lodash": "4.14.149",
        "@types/node": "^12.12.6",
        "codelyzer": "^5.2.1",
        "jasmine-core": "3.5.0",
        "jasmine-spec-reporter": "4.2.1",
        "karma": "4.3.0",
        "karma-chrome-launcher": "3.1.0",
        "karma-coverage-istanbul-reporter": "2.1.1",
        "karma-jasmine": "2.0.1",
        "karma-jasmine-html-reporter": "1.5.1",
        "protractor": "5.4.3",
        "ts-node": "8.3.0",
        "tslint": "5.18.0",
        "typescript": "3.8.3",
        "webpack-bundle-analyzer": "3.6.0"
    }

from angular-material-components.

ceyhunn avatar ceyhunn commented on August 14, 2024

@h2qutc , Did you reproduce this?

from angular-material-components.

carlabruti avatar carlabruti commented on August 14, 2024

Hi,

Same here. couldn't ng update with package already installed : #14
Uninstall it and re installed it :

npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.

Do i need to uninstall and re install it every time i need to update my dependencies ?

Thanks for your reply.

from angular-material-components.

joaodforce avatar joaodforce commented on August 14, 2024

when I install the library I also get these warnings.

I do however have these dependencies im place, but with newer versions.
I'm using Angular 8

npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @angular-material-components/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.

updated 1 package and audited 18447 packages in 12.441s

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

found 89 vulnerabilities (83 low, 4 moderate, 2 high)
  run `npm audit fix` to fix them, or `npm audit` for details
➜  angular-face-manager git:(bug-tipo-pessoa-captura) ✗ 

This is My package.json

{
  "name": "fre-face-manager",
  "version": "1.2.4",
  "author": {
    "name": "FRE Informática",
    "email": "[email protected]"
  },
  "description": "Fre Informática Face Manager",
  "homepage": "https://fre.com.br",
  "license": "SEE LICENSE IN fre.com.br",
  "contributors": [
    {
      "name": "João Eduardo Soares e Silva",
      "email": "[email protected]",
      "url": "https://github.com/joaodforce"
    },
    {
      "name": "Ivan Antunes",
      "email": "[email protected]",
      "url": "https://github.com/ivanantunes"
    }
  ],
  "repository": {
    "type": "git",
    "url": ""
  },
  "main": "main.js",
  "scripts": {
    "ng": "ng",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "postversion": "git push && git push --tags",
    "postinstall": "npm run postinstall:electron && electron-builder install-app-deps",
    "postinstall:web": "node postinstall-web",
    "postinstall:electron": "node postinstall",
    "start": "npm run postinstall:electron && npm-run-all -p ng:serve electron:serve",
    "build": "npm run postinstall:electron && npm run electron:serve-tsc && ng build",
    "build:dev": "npm run build",
    "build:prod": "npm run build -- -c production",
    "ng:serve": "ng serve --host 0.0.0.0 --disableHostCheck",
    "ng:serve:web": "npm run postinstall:web && ng serve -o --host 0.0.0.0 --disableHostCheck",
    "electron:serve-tsc": "tsc -p tsconfig-serve.json",
    "electron:serve": "wait-on http-get://localhost:4200/ && npm run electron:serve-tsc && electron . --serve",
    "electron:dev": "npm run build:dev && electron .",
    "electron:local": "npm run build:prod && electron .",
    "electron:linux": "npm run build:prod && electron-builder build --linux",
    "electron:windows": "npm run build:prod && electron-builder build --windows",
    "electron:windows32": "npm run build:prod && electron-builder build --windows --ia32",
    "electron:mac": "npm run build:prod && electron-builder build --mac"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^8.2.14",
    "@angular/cdk": "^8.2.3",
    "@angular/common": "^8.2.14",
    "@angular/compiler": "^8.2.14",
    "@angular/core": "^8.2.14",
    "@angular/flex-layout": "^8.0.0-beta.27",
    "@angular/forms": "^8.2.14",
    "@angular/material": "^8.2.3",
    "@angular/material-moment-adapter": "^8.2.3",
    "@angular/platform-browser": "^8.2.14",
    "@angular/platform-browser-dynamic": "^8.2.14",
    "@angular/router": "^8.2.14",
    "angular-fre-tema": "git+ssh://[email protected]:FREInformatica/angular-fre-tema.git",
    "codelyzer": "^5.2.1",
    "core-js": "^2.6.11",
    "dexie": "^2.0.4",
    "electron-log": "^4.1.2",
    "electron-updater": "^4.3.1",
    "file-saver": "^2.0.2",
    "fre-base-components": "git+ssh://[email protected]:FREInformatica/angular-fre-base-components-dist.git#v0.5.5",
    "fre-font-awesome": "git+ssh://[email protected]:FREInformatica/fre-font-awesome.git#4.7.0",
    "hammerjs": "^2.0.8",
    "i18next": "^17.3.1",
    "i18next-browser-languagedetector": "^3.1.1",
    "ip": "^1.1.5",
    "ip-range-generator": "^1.0.1",
    "jspdf": "^1.5.3",
    "material-design-icons": "^3.0.1",
    "moment": "^2.24.0",
    "mssql": "^6.0.1",
    "ngx-image-cropper": "^1.5.1",
    "ngx-mask": "^7.9.9",
    "@angular-material-components/datetime-picker": "^2.0.4",
    "ngx-webcam": "^0.2.6",
    "node-firebird": "git+https://github.com/joaodforce/node-firebird.git",
    "ping": "^0.2.2",
    "roboto-fontface": "^0.10.0",
    "rxjs": "^6.5.3",
    "tslib": "^1.9.0",
    "zone.js": "~0.9.1"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.801.3",
    "@angular/cli": "^8.3.24",
    "@angular/compiler-cli": "^8.2.14",
    "@angular/language-service": "^8.2.14",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "^2.0.8",
    "@types/lodash": "^4.14.149",
    "@types/mssql": "^6.0.0",
    "@types/node": "^8.10.59",
    "@types/ping": "^0.2.0",
    "electron": "^8.0.1",
    "electron-builder": "^22.3.2",
    "electron-reload": "1.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "^2.1.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "npm-run-all": "4.1.5",
    "protractor": "^5.4.3",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.4.5",
    "wait-on": "3.3.0"
  },
  "engines": {
    "node": ">=12.13.1"
  }
}

from angular-material-components.

david-the-nerd avatar david-the-nerd commented on August 14, 2024

this is still causing warings and break the ng update comand, please add correct peer dependencies

*-Placeholder or *-NG is not a valid version

"@angular/platform-browser": "0.0.0-NG",
"@angular/common": "0.0.0-NG",
"@angular/core": "0.0.0-NG",
"@angular/forms": "0.0.0-NG",
"@angular/material": "0.0.0-PLACEHOLDER",
"@angular/cdk": "0.0.0-PLACEHOLDER",
"tslib": "0.0.0-TSLIB"

from angular-material-components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.