-
Notifications
You must be signed in to change notification settings - Fork 507
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
Typings problems in rush monorepo (pnpm hard links) #953
Typings problems in rush monorepo (pnpm hard links) #953
Comments
So OUFR has had errors before: #461 I'm not really sure how
I'm not sure why I do see you're using TS v4 for
Seems like the command may have ran in the wrong directory since |
@agilgur5 thanks for reply, i've normalized versions of typescript (explcitly specified 3.9.7 which is used when running tsdx), and tried to run from the same folder
AFAIK |
If anyone stumbled upon this,
|
I am having the same issue with material-ui |
also use rushjs? |
Yes I do! |
For reference, I am fairly sure I fixed this upstream in ezolenko/rollup-plugin-typescript2#332, which fixed ezolenko/rollup-plugin-typescript2#234, which is a very similar upstream issue with To use that in your project, you can set your {
"pnpm": {
"overrides": {
"rollup-plugin-typescript2": "^0.32.0"
}
}
} |
Current Behavior
tsdx build
fails inside rush monorepo, when importing third party types and modulesExpected behavior
build success
Suggested solution(s)
i don't know
Additional context
here is reproduction repo https://github.com/Sinled/test-rushx-tsdx (but it needs rush)
i am not sure if this is
tsdx
orrush
problem,on the one hand, if i use
tsc
- instead of tsdx - it builds finebut on the other - if i install dependencies directly inside package - tsdx also builds ok
Your environment
Any ideas how this can be solved?
The text was updated successfully, but these errors were encountered: