Error on Add @nguniversal/express-engine to my project, giving the error " Package install failed, see above."
See original GitHub issueš Bug report
What modules are related to this issue?
- builders
- common
- express-engine
Is this a regression?
Iām working with 2 projects. 1 of them, yes (Iām using version 12)! Another no, but Iām working with last version of angular (version 13)!
Description
I try to add the package to my project, but I have many erros messages and, in the end, Iāve āPackage install failed, see above.ā
š¬ Minimal Reproduction
Iām having a problem to run ng add @nguniversal/express-engine
in project https://github.com/leonardon397/prova-ecommerce-faculdade-av1 (Thatās in portuguese. Thatās my collegeās work, that replaces the exam). I didnāt found ansers or solutions for this issue, on StackOverflow and anothers forums or blogsā¦
I tried to run ng add @nguniversal/express-engine --force
and ng add @nguniversal/express-engine --legacy-peer-deps
, as suggested in output, but I had same error.
š„ Exception or Error
[leonardo@fedora (branch main *%)] - ~/Projects/prova-ecommerce-faculdade-av1
$ ng add @nguniversal/express-engine@next
ā¹ Using package manager: npm
ā Package information loaded.
The package @nguniversal/express-engine@next will be installed and executed.
Would you like to proceed? Yes
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: prova-ecommerce-faculdade-av1@0.0.0
npm ERR! Found: @angular/animations@13.3.4
npm ERR! node_modules/@angular/animations
npm ERR! peerOptional @angular/animations@"13.3.4" from @angular/platform-browser@13.3.4
npm ERR! node_modules/@angular/platform-browser
npm ERR! peer @angular/platform-browser@"13.3.4" from @angular/forms@13.3.4
npm ERR! node_modules/@angular/forms
npm ERR! peer @angular/forms@"^13.0.0" from ngx-bootstrap@8.0.0
npm ERR! node_modules/ngx-bootstrap
npm ERR! ngx-bootstrap@"^8.0.0" from the root project
npm ERR! 1 more (the root project)
npm ERR! peer @angular/platform-browser@"13.3.4" from @angular/platform-browser-dynamic@13.3.4
npm ERR! node_modules/@angular/platform-browser-dynamic
npm ERR! @angular/platform-browser-dynamic@"~13.3.0" from the root project
npm ERR! 2 more (@angular/router, the root project)
npm ERR! peer @angular/animations@"^13.0.0" from ngx-bootstrap@8.0.0
npm ERR! node_modules/ngx-bootstrap
npm ERR! ngx-bootstrap@"^8.0.0" from the root project
npm ERR! 1 more (the root project)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! @nguniversal/express-engine@"13.1.0-next.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @angular/animations@13.3.5
npm ERR! node_modules/@angular/animations
npm ERR! peer @angular/animations@"13.3.5" from @angular/platform-server@13.3.5
npm ERR! node_modules/@angular/platform-server
npm ERR! peer @angular/platform-server@"^13.1.0" from @nguniversal/express-engine@13.1.0-next.1
npm ERR! node_modules/@nguniversal/express-engine
npm ERR! @nguniversal/express-engine@"13.1.0-next.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/leonardo/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/leonardo/.npm/_logs/2022-04-30T19_57_00_389Z-debug-0.log
ā Package install failed, see above.
š Your Environment
[leonardo@fedora] - ~
$ neofetch
.',;::::;,'. leonardo@fedora
.';:cccccccccccc:;,. ---------------
.;cccccccccccccccccccccc;. OS: Fedora Linux 35 (KDE Plasma) x86_64
.:cccccccccccccccccccccccccc:. Host: GA-78LMT-S2
.;ccccccccccccc;.:dddl:.;ccccccc;. Kernel: 5.17.4-200.fc35.x86_64
.:ccccccccccccc;OWMKOOXMWd;ccccccc:. Uptime: 9 hours, 47 mins
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:. Packages: 2711 (rpm), 7 (flatpak), 22 (snap)
,cccccccccccccc;MMM.;cc;;WW::cccccccc, Shell: bash 5.1.8
:cccccccccccccc;MMM.;cccccccccccccccc: Resolution: 1920x1080
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc: DE: Plasma 5.24.4
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc; WM: kwin
ccccc:XM0';cccc;MMM.;cccccccccccccccc' Theme: Breeze Dark [Plasma], Breeze [GTK2/3]
ccccc;MMo;ccccc;MMW.;ccccccccccccccc; Icons: ePapirus-Dark [Plasma], ePapirus-Dark [GTK2/3]
ccccc;0MNc.ccc.xMMd:ccccccccccccccc; Terminal: konsole
cccccc;dNMWXXXWM0::cccccccccccccc:, Terminal Font: FiraCode Nerd Font Mono 13
cccccccc;.:odl:.;cccccccccccccc:,. CPU: AMD Athlon II X2 250 (2) @ 3.013GHz
:cccccccccccccccccccccccccccc:'. GPU: AMD ATI Radeon 3000
.:cccccccccccccccccccccc:;,.. Memory: 6547MiB / 7818MiB
'::cccccccccccccc::;,.
[leonardo@fedora] - ~
$ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ ā³ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 13.3.3
Node: 16.15.0
Package Manager: npm 8.5.5
OS: linux x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1303.3 (cli-only)
@angular-devkit/core 13.3.3 (cli-only)
@angular-devkit/schematics 13.3.3 (cli-only)
@schematics/angular 13.3.3 (cli-only)
[leonardo@fedora] - ~
$ npm --version
8.5.5
[leonardo@fedora] - ~
$ node --version
v16.15.0
[leonardo@fedora] - ~
$ yarn --version
1.22.18
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top GitHub Comments
Thanks for reporting this issue. Luckily, it has already been fixed in one of the recent releases. Please update to the most recent version to resolve the problem.
If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use
ng new repro-app
to create a new project where you reproduce the problem.This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.