Angular(with echarts dependency) inside a monorepo cannot resolve some modules #8652
Unanswered
danielleroux
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi we are using pnpm for our mono repository. Previously we removed
shamefully-hoist
from.npmrc
this leads us to some issues regarding hosting.I prepared a separate repository to demonstrate the issue:
https://github.com/danielleroux/pnpm-angular-issue
If you perform an
pnpm install
and apnpm build
you will get a lot of "Cannot resolve module" log entries from the angular project,zrender
andclaygl
are part of theecharts
/echarts-gl
dependency.Normally i would add the effected dependencies
zrender
andclaygl
to thepublic-hoist-pattern
setting:But this does not solve the issue that echarts cannot resolve the dependency of the zrender and claygl properly.
Does anybody have a hint how to resolve the issue?
Beta Was this translation helpful? Give feedback.
All reactions