I'm relatively new to angular2, so I was wondering how could I update my version(1.1.4) to last version!
I'm working on version 2.0.0-rc.5 of angular2.
Already tried
npm install primeng --save
but package.json still holds this value: ""primeng": "^1.1.4","
the package.json from the root directory of angular, and also of the primeng in node_modules directory
PrimeNG 11 depends on Angular 11 and is fully compatible with it. As it is always suggested, use the PrimeNG whose major version matches your Angular version e.g. PrimeNG 10 with Angular 10.
PrimeNG 12.0. 0 is now available, bringing first-class Angular 12 support with a new grey scheme, as well as other changes and responsive updates to the components. PrimeNG v12. 0.0 is dependent on and fully compatible with Angular 12.
For future references: Had to uninstall with:
npm uninstall primeng --save
Run the code below to avoid unnecessary errors:
npm cache verify
And then install with the version you want
npm install [email protected] --save
thanks for you answer though
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With