-
Notifications
You must be signed in to change notification settings - Fork 675
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
es-next/compiler.js fails to resolve module after typescript successfully resolves and compiles it #7436
Comments
hey @Aleksey28 , thx for the reply. i've dropped |
Hi @cdaringe, You're welcome. I'll close the issue. Feel free to contact us if you have further questions. |
@Aleksey28 forgive me—the issue should not be closed. The issue should remain open. My above remark was politely stating that your suggestion is not relevant to this specific problem |
Ok. In this case, please update your example so that I can run it and reproduce this error. |
@Aleksey28, the example is updated and runnable, with instructions in the repo. thanks! |
I managed to reproduce the issue. We will update this thread once we have any news. |
Thanks for providing a minimal example; I've already spent hours on debugging that in our project. Are there any known workarounds or versions where this bug is not present in? |
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open. |
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you. |
What is your Scenario?
I want to:
tsconfig::compilerOptions::paths
(andtsconfig::extends
, but not related to this issue)What is the Current behavior?
Internally, the typescript compiler compiles
page.test.ts
fine. A downstream es-next compiler cannot resolve a module that the typescript compiler resolved.What is the Expected behavior?
Either not use the es-next compiler, or extend es-next compiler module resolution with paths as used from the typescript compiler.
What is your public website URL? (or attach your complete example)
tiny, minimal reproduction posted here: https://github.com/cdaringe/testcafe-path-resolution-typescript
What is your TestCafe test code?
Your complete configuration file
none, cli only.
DEBUG=testcafe* testcafe --compiler-options='typescript.configPath=tsconfig.json' chrome test/
Your complete test report
n/a
Screenshots
Steps to Reproduce
run the reproduction
TestCafe version
2.2.0-rc.1
Node.js version
18.4.0
Command-line arguments
testcafe --compiler-options='typescript.configPath=tsconfig.json' chrome test/
Browser name(s) and version(s)
chrome
Platform(s) and version(s)
macos 12.6.1
Other
n/a
The text was updated successfully, but these errors were encountered: