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
When using @s1seven/schema-tools-certificate-model in a project that uses npm, the error shown below is thrown. It works with yarn as the resolution is different. See the recommended post here for more details: https://stackoverflow.com/questions/67185714/how-do-i-read-npm-conflicting-peer-dependency-error-messages. We first came across this issue while working on Composer, and now while building a docker image of certificate-service.
#18 7.402 npm ERR! ERESOLVE could not resolve
#18 7.402 npm ERR!
#18 7.402 npm ERR! While resolving: @s1seven/schema-tools-certificate-model@0.3.7
#18 7.403 npm ERR! Found: @s1seven/schema-tools-extract-emails@0.4.2
#18 7.403 npm ERR! node_modules/@s1seven/schema-tools-extract-emails
#18 7.403 npm ERR! @s1seven/schema-tools-extract-emails@"0.4.2" from the root project
#18 7.403 npm ERR! peer @s1seven/schema-tools-extract-emails@"0.4.2" from @s1seven/schema-tools-certificate-summary@0.3.1
#18 7.403 npm ERR! node_modules/@s1seven/schema-tools-certificate-summary
#18 7.403 npm ERR! @s1seven/schema-tools-certificate-summary@"0.3.1" from the root project
#18 7.403 npm ERR! @s1seven/schema-tools-certificate-summary@"^0.3.0" from @s1seven/custom-schema-tools-certificate-summary@0.2.0
#18 7.403 npm ERR! node_modules/@s1seven/custom-schema-tools-certificate-summary
#18 7.403 npm ERR! @s1seven/custom-schema-tools-certificate-summary@"0.2.0" from the root project
#18 7.403 npm ERR!
#18 7.403 npm ERR! Could not resolve dependency:
#18 7.403 npm ERR! peer @s1seven/schema-tools-extract-emails@"0.4.1" from @s1seven/schema-tools-certificate-model@0.3.7
#18 7.403 npm ERR! node_modules/@s1seven/schema-tools-certificate-model
#18 7.403 npm ERR! @s1seven/schema-tools-certificate-model@"0.3.7" from the root project
#18 7.404 npm ERR!
#18 7.404 npm ERR! Conflicting peer dependency: @s1seven/schema-tools-extract-emails@0.4.1
#18 7.404 npm ERR! node_modules/@s1seven/schema-tools-extract-emails
#18 7.404 npm ERR! peer @s1seven/schema-tools-extract-emails@"0.4.1" from @s1seven/schema-tools-certificate-model@0.3.7
#18 7.404 npm ERR! node_modules/@s1seven/schema-tools-certificate-model
#18 7.404 npm ERR! @s1seven/schema-tools-certificate-model@"0.3.7" from the root project
#18 7.404 npm ERR!
#18 7.404 npm ERR! Fix the upstream dependency conflict, or retry
#18 7.404 npm ERR! this command with --force or --legacy-peer-deps
#18 7.404 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
What keywords did you search in schema-tools issues before filing this one ?
peer
Is this a BUG REPORT or FEATURE REQUEST ?
BUG REPORT
Environment :
Locally using npm and in the ci using npm. Not present when installing using yarn.
What you expected to happen :
I expected the installation to succeed.
How to reproduce it :
Install @s1seven/schema-tools-certificate-model along with @s1seven/schema-tools-extract-emails@0.4.2 and run npm install.
The text was updated successfully, but these errors were encountered:
eamon0989
changed the title
bug: peer dependency issue with certificate-model and npm install
bug: peer? dependency issue with certificate-model and npm installSep 18, 2023
Description
When using
@s1seven/schema-tools-certificate-model
in a project that usesnpm
, the error shown below is thrown. It works withyarn
as the resolution is different. See the recommended post here for more details: https://stackoverflow.com/questions/67185714/how-do-i-read-npm-conflicting-peer-dependency-error-messages. We first came across this issue while working on Composer, and now while building a docker image ofcertificate-service
.What keywords did you search in schema-tools issues before filing this one ?
peer
Is this a BUG REPORT or FEATURE REQUEST ?
BUG REPORT
Environment :
Locally using
npm
and in theci
usingnpm
. Not present when installing usingyarn
.What you expected to happen :
I expected the installation to succeed.
How to reproduce it :
Install
@s1seven/schema-tools-certificate-model
along with@s1seven/schema-tools-extract-emails@0.4.2
and runnpm install
.The text was updated successfully, but these errors were encountered: