Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

309
Views
Update Angular2 PrimeNG version 1.1.4 to last version

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

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

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 primeng@x.x.x --save

thanks for you answer though

about 4 years ago · Santiago Trujillo Report

0

You only need run npm update --save into the folder that contains your package.json

Before:

"dependencies": {
   ....
    "primeng": "^1.1.4",
   ....
 },

After:

"dependencies": {
    ....
   "primeng": "^2.0.5",
    ....
 },

Note: this command update whole your dependencies...

about 4 years ago · Santiago Trujillo Report

0

Use "import {SidebarModule} from 'primeng/components/sidebar/sidebar';"

instead "import { SidebarModule } from 'primeng/primeng';"

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!