0

I forked primeng's repository and made one small modification. When I npm install my repo it's giving me this error:

[email protected]  (git://github.com/matthieu- D/primeng.git#cec36bf71efe96b8a25d5d03f0c7d4ca6762443d)
└── UNMET PEER DEPENDENCY [email protected]

After installation, I have some files but others (components for example) are missing.

I have this package.json in my local project:

"@angular/common": "2.0.0-rc.4",
"@angular/compiler": "2.0.0-rc.4",
"@angular/core": "2.0.0-rc.4",
"@angular/forms": "0.2.0",
"@angular/http": "2.0.0-rc.4",
"@angular/platform-browser": "2.0.0-rc.4",
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
"@angular/router": "3.0.0-beta.2",
"primeng": "git://github.com/matthieu-D/primeng.git",
"primeui": "^4.1.12",
"rxjs": "^5.0.0-beta.6",
"zone.js": "^0.6.12"

I suspect the problem would be local and not from the fork. PS: I forked another project ng2-translate and the src folder doesn't get installed: https://github.com/matthieu-D/ng2-translate
I'm doing a :

npm install git://github.com/matthieu-D/ng2-translate.git

If I install the non-forked through through npm primeng, I get the errors but everything is cloned perfectly.
However if I install the non-forked through npm install github ... some folders don't install.
It's either I'm using the wrong command or the repo somehow don't support installation through github.

Matthieu Drula
  • 201
  • 3
  • 11

1 Answers1

0

I guess you would need to update your package "rxjs": "^5.0.0-beta.6" like

npm update --save [email protected]

I'm not pretty sure as I'm now get used to npm, but that's what the error say to me.

Hope this helps !

Elwi
  • 687
  • 1
  • 5
  • 15