-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UNMET PEER DEPENDENCY on installing @angular/material #1512
Comments
It looks like you're mixing versions, @drasko; here are the relevant portions of my
|
drasko@Lenin:~/mainflux/dashflux$ cat package.json
{
"name": "dashflux",
"version": "0.0.0",
"license": "MIT",
"angular-cli": {},
"scripts": {
"start": "ng serve",
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test",
"pree2e": "webdriver-manager update",
"e2e": "protractor"
},
"private": true,
"dependencies": {
"@angular/common": "~2.0.0",
"@angular/compiler": "~2.0.0",
"@angular/core": "~2.0.0",
"@angular/forms": "~2.0.0",
"@angular/http": "~2.0.0",
"@angular/material": "^2.0.0-alpha.9-3",
"@angular/platform-browser": "~2.0.0",
"@angular/platform-browser-dynamic": "~2.0.0",
"@angular/router": "~3.0.0",
"core-js": "^2.4.1",
"rxjs": "5.0.0-beta.12",
"ts-helpers": "^1.1.1",
"zone.js": "^0.6.23"
},
"devDependencies": {
"@types/jasmine": "^2.2.30",
"@types/node": "^6.0.42",
"angular-cli": "1.0.0-beta.17",
"codelyzer": "~0.0.26",
"jasmine-core": "2.4.1",
"jasmine-spec-reporter": "2.5.0",
"karma": "1.2.0",
"karma-chrome-launcher": "^2.0.0",
"karma-cli": "^1.0.1",
"karma-jasmine": "^1.0.2",
"karma-remap-istanbul": "^0.2.1",
"protractor": "4.0.9",
"ts-node": "1.2.1",
"tslint": "3.13.0",
"typescript": "2.0.2"
}
} And then I did Is this a bug in |
I think this is an angular-cli bug #2692 |
@JanStureNielsen trying
|
Try using the same package.json from this sample app: https://github.com/angular/material2 In that, I don't get any unmet peer deps for material itself, just for compiler-cli (which is unrelated to material). In general, though, you can ignore the unmet peer dependencies. |
After updating to [email protected] and @angular/[email protected] I don't get anymore "unmet peer dependency" messages. |
same issue :
@angular/cli: 1.0.0 |
same issue as @elyas74 |
|
hi maybe i have the same issue npm install --save https://github.com/angular/material2-builds.git npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): angular-cli: 1.0.0-beta.28.3 |
@cmmora What do you expect when you're using an older version! From a certain version, it requires angular 4 and above, which explains the error as shown above. Thus, try running |
solved for me with installing the 6.4.7 version |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Can not install Material 2
What is the current behavior?
Which versions of Angular, Material, OS, browsers are affected?
The text was updated successfully, but these errors were encountered: