GithubHelp home page GithubHelp logo

Support Angular 12 about ngx-localstorage HOT 3 CLOSED

bohoffi avatar bohoffi commented on September 2, 2024
Support Angular 12

from ngx-localstorage.

Comments (3)

bohoffi avatar bohoffi commented on September 2, 2024 1

@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.

Larry-Schultz avatar Larry-Schultz commented on September 2, 2024

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.

Larry-Schultz avatar Larry-Schultz commented on September 2, 2024

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)

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.