Comments (3)
@OtherBrand Thank you for reporting. I guess you're using npm 7.x (which brought the new peer dependency handling)?
You could get around this issue by either downgrading your npm version to the latest 6.x or by installing this lib via npm install
instead of ng add
.
The problem ist that the Angular CLI does not support the new peer dependency handling coming with npm 7.x as of now - if I'm correct. But as you've used ng add
with the --force
parameter too it seems that it's still not working.
The libs peer dependencies are declared as follows:
"peerDependencies": {
"@angular/common": ">=4.0.0",
"@angular/core": ">=4.0.0"
}
So the lib is already ready for Angular 12.x
from ngx-localstorage.
Thanks for the comment! I was able to install nxg-localstorage using npm, but I had to force it. I used the command npm install ngx-localstorage --force
from ngx-localstorage.
Since it seems to be working now, I'll go ahead and close the issue. Thanks again for the help!
from ngx-localstorage.
Related Issues (20)
- Support Angular 7
- Replace Promise based service with Observable
- NgxLocalStorageModule.forRoot({prefix: 'demo'}) can not work HOT 2
- How to set object for key? HOT 3
- Provide a default (de)serializer
- Using ngxLocalStorage in sub module ... complains about lsValuePath not being a known property HOT 5
- Value set when using lsInitFromStorage directive not being set on backing property HOT 4
- Event Stream not firing HOT 2
- I think this is incorrect HOT 1
- Update to latest Angular version
- Is ngx-localstorage compatible with Angular Universal? HOT 2
- Error handling when third-party cookies are disabled. HOT 3
- Ivy update HOT 3
- Standalone directive
- Increase test coverage
- 5.0.0 npm package HOT 1
- Incompatible peer dependency to "rxjs" (requires "~7.5.0", would install "7.8.0") HOT 3
- Directive utilizing ControlValueAccessor
- Update dependencies
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 ngx-localstorage.