mgechev / angular-seed

🌱 [Deprecated] Extensible, reliable, modular, PWA ready starter project for Angular (2 and beyond) with statically typed build and AoT compilation
https://mgechev.github.io/angular-seed
MIT License
4.57k stars 1.45k forks source link

unmet peer dependency @angular/compiler@2.1.2 #1687

Closed keslavi closed 7 years ago

keslavi commented 7 years ago

[x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see use gitter or stackoverflow



**Current behavior**
I need to add ability to handle cookies, tried to add https://github.com/salemdar/angular2-cookie; it has directions for using with this seed.

when i try to install i receive the error. 
+-- UNMET PEER DEPENDENCY @angular/compiler@2.1.
+-- UNMET PEER DEPENDENCY @angular/core@2.1.2

I suspect this has something to do with "@angular/compiler-cli": "~2.1.2" but unsure how to resolve. 

**Expected behavior**
npm install -s angular2-cookie correctly installs

**Minimal reproduction of the problem with instructions**
npm install -s angular2-cookie
observe unmet peer dependency

**What is the motivation / use case for changing the behavior?**
dealing with an ancient authentication system that needs cookies passed. 

**Please tell us about your environment:**
<!-- Operating system, IDE, package manager, HTTP server, ... -->
Win2008, Sublime/Visual Studio, node 6.9.1, npm 3.10.8, 

* **Angular Seed Version:** `aaaaf75`
<!-- Check which is the hash of the last commit from angular-seed that you have locally -->
branched around 11/10/2016 into https://github.com/keslavi/Template-Angular2-VS to add custom pieces and image support. 

* **Node:** `node --version` =6.9.1
mgechev commented 7 years ago

Can't reproduce it with the latest version of the seed in master.