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)
-
0
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>
-
0
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
-
0
@GBadenhorst can you also share your AspNet Zero and Angular version ?
-
0
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
-
0
Is it possible to create an issue on GitHub
-
0
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
-
0
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.
-
0
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.
-
0
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>.