Host contributing instructions fail on patchedDependencies
#6179
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
Hi, I followed the host contributing instructions here:
https://github.com/mermaid-js/mermaid/blob/develop/packages/mermaid/src/docs/community/contributing.md
It boils down to these steps:
curl -fsSL https://get.pnpm.io/install.sh | sh -
pnpm env use --global 20
pnpm install
pnpm test
When running the
pnpm install
step it would end on this error:Ignoring it,
pnpm test
would fail on:I noodled around for a bit and then just tried removing the
patchedDependencies
section frompackage.json
:After,
pnpm install
went through successfully and so didpnpm test
passing the entire 3k strong test suite.This indicates that the
roughjs
patch is not needed for the tests, but I assume it is there for a reason.All I know at this point is that it prevents
pnpm install
from working in the host development setup.Steps to reproduce
Follow the host contributing guides and come across the problem I described above - or not which could indicate a problem on my end which I find unlikely given the nature of the error message and the workaround that worked for me.
Screenshots
No response
Code Sample
No response
Setup
develop
branchSuggested Solutions
Remove the
patchedDependencies
if obsolete and safe to remove.Additional Context
No response
The text was updated successfully, but these errors were encountered: