I get the following error trying to npm install
C:\code\primeng>npm install primeng --save
primeng-quickstart@1.0.0-SNAPSHOT C:\code\primeng
+-- primeng@1.0.0-beta.6
`-- UNMET PEER DEPENDENCY primeui@4.1.10
npm WARN primeng@1.0.0-beta.6 requires a peer of primeui@^4.1.11 but none was installed.
npm WARN primeng-quickstart@1.0.0-SNAPSHOT No repository field.
How is this resolved?
Unmet Peer Dependency during npm install
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You also need PrimeUI e.g;
Code: Select all
npm install primeui --save
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
That is a warning, I don't think it is similar. It complains about repository field which is optional. Are you trying to start with our quickstart sample? If so please check the github code again, I've just updated versions;
Code: Select all
"primeng": "1.0.0-beta.6",
"primeui": "4.1.11"
Yes I was starting from scratch with the instructions at the top of http://www.primefaces.org/primeng/#/setup.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Did my answer help, those are the correct versions which are latest.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
What do you mean by general npm instructions? Our quickstart is based on angular2 quickstart;
https://angular.io/docs/js/latest/quickstart.html
https://angular.io/docs/js/latest/quickstart.html
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests