Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Updating Packages (PrimeNG especially) - Rather urgent #4705


User avatar
0
gbadenhorst created

Hi,

How do I go about updating a package like PrimeNG? Everything I tried so far has ended up with the project breaking and endless amounts of errors when I run the angular project.

Any help will be greatly appreciated.

Regards, Gideon Badenhorst


9 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi,

    if we talk in particular about PrimeNg, uninstall it and reinstall the latest using the guidance on <a class="postlink" href="https://www.npmjs.com/package/primeng">https://www.npmjs.com/package/primeng</a>

    and also check out updating npm packages <a class="postlink" href="https://docs.npmjs.com/getting-started/updating-local-packages">https://docs.npmjs.com/getting-started/ ... l-packages</a>

  • User Avatar
    0
    gbadenhorst created

    Hi,

    <ins>When i follow this:</ins>if we talk in particular about PrimeNg, uninstall it and reinstall the latest using the guidance on <a class="postlink" href="https://www.npmjs.com/package/primeng">https://www.npmjs.com/package/primeng</a> I end up with problems on the OpaqueToken -> @angular/core/core. The OpaqueToken param becomes unavailable ones PrimeNG is updated to the latest version.

    What I basically did with the last attempt as a last resort was to modify the pack version in the packages.json and then run 'yarn' But I still ended up with issues. It is as if 5.1.2 PrimeNG is not supported or modifies other packages when updated.

    Regards, Gideon Badenhorst

  • User Avatar
    0
    ismcagdas created
    Support Team

    @GBadenhorst can you also share your AspNet Zero and Angular version ?

  • User Avatar
    0
    gbadenhorst created

    Hi,

    Sorry forgot to add the project details. I am on the latest version of ASP.Net Core & Angular (5.1.0) It is a newly downloaded template so everything is standard and only PrimeNG needs to be updated.

    Regards, Gideon Badenhorst

  • User Avatar
    0
    alper created
    Support Team

    Is it possible to create an issue on GitHub

  • User Avatar
    0
    gbadenhorst created

    Hi,

    I'll do so tomorrow. I'm just running on a very tight deadline and will create it once I am done.

    Will include as much information as possible.

    Thanks

  • User Avatar
    0
    alper created
    Support Team

    What's the problem for the current PrimeNG version. If there's no directly affecting problem to you, keep it like that. When the team upgrades it in the future releases, you can get it.

  • User Avatar
    0
    gbadenhorst created

    Hi,

    The problem is mainly that there is about half of the PrimeNG functionality unavailable at the moment. Certain aspects that I have to use needs an upgrade to take place as it is only available in higher versions.

    I would gladly leave things as is if I could but the functionality is a requirement for a specific segment of a project I am working on.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Here is the related issue by the way <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/858">https://github.com/aspnetzero/aspnet-ze ... issues/858</a>.