Comments (21)
This has nothing to do with my package.json, this issue is in the package.json of the latest release of @angular-material-components/datetime-picker
on npm.
This is from its package.json:
"peerDependencies": {
"@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.
I feel like my comments aren't event being read. Let me repeat...
This has nothing to do with the version of people's angular. The problem is with this library.
step 1: Download latest @angular-material-components/datetime-picker
from npm.
step 2: Look at the package.json in the downloaded package.
step 3: Release a new version where the package.json isn't filled with dummy data.
from angular-material-components.
Is there any kind of support you'll provide to those legacy application that uses older versions of Angular?
I'm finding myself with an error on an Angular 8 application, and I wish there's a way to release a 2.0.5 just to update the package.json of the library instead to have to fork the project by myself just for the sake of it.
from angular-material-components.
This is still a problem in 2.x. I have no ability nor will to upgrade angular for the sake of just this component. Not willing to support legacy versions is understandable, but then you should remove older versions from the table, so developers are not misled into believing that they can use it without issues on older versions of Angular. Because 2.x versions are simply broken because of this issue.
If there's any alternative solutions, do let me know.
from angular-material-components.
Very good web page, thank oneself for the exciting material for guaranteed I am going to be back.https://betterprogramming.pub/the-step-by-step-guide-to-understanding-and-adopting-npm-7-914504f7090f
from angular-material-components.
@roma2341 this is because author of the package explicitly broke old versions to "deprecate" them in such way. If you are looking for a solution to overcome this, you can try running npm install --legacy-peer-deps
from angular-material-components.
Can you provide your package.json please so that I can reproduce this bug ?
from angular-material-components.
Facing same issue
Can you provide your package.json please so that I can reproduce this bug ?
I'm also facing the same issue. Issue is in the latest release on npm
from angular-material-components.
Ugh I’ve had enough of how slow things are going here. This is basic stuff. I’m going to fork if in a week this isn’t resolved.
from angular-material-components.
Can you let me know which version of angular and angular material in your application ?
from angular-material-components.
Can you let me know which version of angular and angular material in your application ?
Try this package.json
{
"name": "datepicker-test",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular-material-components/datetime-picker": "^2.0.4",
"@angular/animations": "~9.1.3",
"@angular/cdk": "^9.2.4",
"@angular/common": "~9.1.3",
"@angular/compiler": "~9.1.3",
"@angular/core": "~9.1.3",
"@angular/forms": "~9.1.3",
"@angular/material": "^9.2.4",
"@angular/platform-browser": "~9.1.3",
"@angular/platform-browser-dynamic": "~9.1.3",
"@angular/router": "~9.1.3",
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.901.3",
"@angular/cli": "~9.1.3",
"@angular/compiler-cli": "~9.1.3",
"@angular/language-service": "~9.1.3",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"node-sass": "^4.14.1",
"protractor": "~5.4.3",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~3.8.3"
}
}
from angular-material-components.
@krishna217 I don't see @angular/material and @angular/cdk ? Did you miss those packages ?
from angular-material-components.
@krishna217 I don't see @angular/material and @angular/cdk ? Did you miss those packages ?
Sorry about that i updated the my comment with package.json
from angular-material-components.
@h2qutc Any progress on this ? Also while upgrading to angular 10 it throws an error due to these incompatible dependencies.
from angular-material-components.
@krishna217 I don't see @angular/material and @angular/cdk ? Did you miss those packages ?
What???? Why does that matter? What do those libraries have to do with the problem? Please read what I wrote earlier in the thread because this is becoming a waste of everyone’s time.
from angular-material-components.
I'm also facing the same issue;
npm ERR! peer dep missing: @angular/[email protected], required by @angular-material-components/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular-material-components/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular-material-components/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular-material-components/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular-material-components/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular-material-components/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular-material-components/[email protected]
npm ERR! peer dep missing: @angular/[email protected], required by @angular-material-components/[email protected]
npm ERR! peer dep missing: [email protected], required by @angular-material-components/[email protected]
from angular-material-components.
Issue has been resolved in version 4.0.0, thanks!
from angular-material-components.
Version 2.0.4 still has this problem. Any plan to fix it? Thanks.
https://github.com/h2qutc/angular-material-components/blob/master/projects/datetime-picker/package.json
from angular-material-components.
And a reminder, without the fix, application that uses this lib cannot be dockerized. Please take a look when you get a chance @h2qutc
from angular-material-components.
@Magoloric @shalltalk As a workaround for this particular case, you can use --legacy-peer-deps
flag for npm install
command so npm will ignore broken peer dependencies (not a best approach though).
Also, there is a possibility to add library code from node_modules to some folder of your repo, for example, lib/@angular-material-components/datetime-picker
. Then patch package.json and do local npm install from there: npm i --save ./lib/@angular-material-components/datetime-picker
.
from angular-material-components.
Only i don't understand what mean "0.0.0-NG" ?
from angular-material-components.
Related Issues (20)
- custom action button not working
- Cannot use datetime-picker with Angular 15 and Angular Material 14
- Angular 17 compatibility HOT 14
- [Angular 16] Angular 16.2.1. breaks the styling of the datetimepicker component HOT 2
- more than 2 datetime picker in one page which is load dynamically & Not able to change the format
- [Angular 10] Keyboard navigation broken
- About the ngx-matdate-time-picker
- Switching between the years is very slow on the date picker version 8 HOT 3
- Spinner icons are not loading HOT 2
- Optional HEX Color Input field
- want to have keyboard toggle in dates HOT 1
- ngx-mat-datetime-picker is improperly formatted in angular 16 HOT 3
- Datepicker design breaks Angular 13 HOT 2
- angular upgrade V16 to V17
- No option for language change
- No Arabic digits in the time field
- latest version is not supported with Angular 17. HOT 1
- latest version is not supported with Angular 17 HOT 2
- Time picker only
- Is there problems when i using 16.0.1 in angular V17 project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-material-components.