You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Kind of. Since v7 npm will try to install peer dependencies and does not complete the installation if the peer dependencies can't be installed.
Description
hapi is deprecated and not maintained anymore. The package is now called @hapi/hapi.
🔬 Minimal Reproduction
npx @angular/cli new example # this needs to be done with npm@6 because it fails as well with npm@7cd example
ng generate universal --client-project example
npm i npm@7 --global
npm i @nguniversal/hapi-engine
🔥 Exception or Error
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: hapi@undefined
npm WARN node_modules/hapi
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer hapi@"^18.4.0" from @nguniversal/[email protected]
npm WARN node_modules/@nguniversal/hapi-engine
npm WARN @nguniversal/hapi-engine@"*" from the root project
npm ERR! code ETARGET
npm ERR! notarget No matching version found for hapi@^18.4.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.