Skip to content
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

Dependency issue with remark-parse and remark-math #9601

Closed
rainbowtux opened this issue Nov 4, 2020 · 1 comment
Closed

Dependency issue with remark-parse and remark-math #9601

rainbowtux opened this issue Nov 4, 2020 · 1 comment
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. type:duplicate Issues that are a duplicate of a previous issue

Comments

@rainbowtux
Copy link

When installing prettier as pre-commit hook, I get a dependency error with remark-parse and remark-math. See message below and eresolve-report.txt attached. If you need any more information to reproduce the error, please let me know.

My operating system: openSUSE TW, but issue also happened on a colleague's laptop running Manjaro.

An unexpected error has occurred: CalledProcessError: command: ('/home/evdvelde/.cache/pre-commit/repos5bkvdni/node_env-default/bin/node', '/home/evdvelde/.cache/pre-commit/repos5bkvdni/node_env-default/bin/npm', 'install')
return code: 1
expected return code: 0
stdout: (none)
stderr:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: prettier@2.1.2
npm ERR! Found: remark-parse@8.0.3
npm ERR! node_modules/remark-parse
npm ERR! remark-parse@"8.0.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer remark-parse@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" from remark-math@1.0.6
npm ERR! node_modules/remark-math
npm ERR! remark-math@"1.0.6" 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/evdvelde/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/evdvelde/.npm/_logs/2020-11-04T17_24_20_993Z-debug.log

eresolve-report.txt

@thorn0
Copy link
Member

thorn0 commented Nov 5, 2020

Duplicate of #9459

@thorn0 thorn0 marked this as a duplicate of #9459 Nov 5, 2020
@thorn0 thorn0 closed this as completed Nov 5, 2020
@thorn0 thorn0 added the type:duplicate Issues that are a duplicate of a previous issue label Nov 5, 2020
@github-actions github-actions bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Feb 4, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. type:duplicate Issues that are a duplicate of a previous issue
Projects
None yet
Development

No branches or pull requests

2 participants