-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
peerDependency problems #2208
Comments
Same with 8.0.0-rc2 |
It seems strange, but it is the expected behavior. See npm documentation:
So we should add an OR statement to fix this dependency issue:
|
This 8.0.0-rcX series has been very frustrating to get into with given the dependency problems. If Certainly it was a barrier to entry that delayed me until now before I had the patience and time to work through them. Probably others still aren't bothering with 8.0.x until the dependency issues are worked out. The dependencies could have been managed once for everyone, instead of everyone having to individually work through them every time a rcX release is made. If you want more validation of the 8.0.0 release candidates, probably this aspect of the release process should be fixed. |
What version of npm are you on? |
The work around I used was to have a local hapi repository, and delete hapi/shrinkwrap.json, and remove h2o2, inert, statehood and vision from hapi/package.json I then also had to have local repositories of glue, h2o2, inert, vision and several other hapi-xxx plugins I am using, removing all dependencies in them to hapi or any of the above named packages. Then in my own application repository, I added each of the above to my package.json as local file versions - eg "h2o2":"file:../../temp/h2o2". At which point, npm quit complaining, and I was able to run the server and work through the porting issues. Maybe there was an easer way, but this is the path I was able to discover through trail and error. Thanks. |
Yeah... it's a problem with npm 2. They no longer match dash versions to a non-dash requirement. I rather not deal with it for the few days left before we just move to the official release. |
When I try to install hapi 8.0.0-rc3 I get a problem with peerDependencies not satisfied:
It seems a bit strange that 8.0.0-rc3 !>= 2.x.x.
Is there a way I can get around this?
The text was updated successfully, but these errors were encountered: