-
Notifications
You must be signed in to change notification settings - Fork 454
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
Unable to require .d.ts
file on Unix only
#1289
Comments
confronted with the same issue. |
@JakeStanger @shigma - if you haven't fixed / worked around this, setting |
Not using lerna or any other package/approach that should be creating symlinks, and this fix does not work for me. I will try and put together a minimal repo at some point soon but I still haven't found the cause exactly... |
Had this issue too, downgraded jest to 24.8 and it fixes it. There is another issue in the list that has the 24.9 breaking change for this module |
|
I had the same issue, in a monorepo managed by yarn workspaces (without lerna), only on CI (Travis CI which uses Ubuntu, no issue on macOS). Adding |
Downgrading Jest does not work for me, neither does I am wondering if the new TS 3.8 |
I have this issue as well 😕 |
Same issue |
Does anyone have a workaround? I'm on Linux, and it seems to occasionally work, but it consistently fails when I'm trying to run my tests on a gitlab ci. |
I hit this on Windows, I have symlinks created manually. |
PR #1385 solved something related and it was merged into master. However we are not sure that it will solve this issue. Can anyone please test the latest changes on master against this issue ? |
Hi everyone, have you guys tested 25.2.1 for this issue ? Is this issue fixed for you guys ? |
@ahnpnl in my case it worked! Thank you! |
@ahnpnl working now for me as well. Thanks, |
This for me is causing another bizarre error... With
|
probably caused by |
Excellent, installing I'll close this issue now, thank you everybody. |
Issue :
Similar but not the same as #950.
Running tests on my TypeScript project, including a TypeScript dependency, succeeds on Windows. It fails on Linux and OSX with the following:
Fields.ts
contains:All of which are exported.
Here is my
jest.config.json
:(Link to preset)
Expected behavior :
The test succeeds regardless of operating system.
Debug log:
ts-jest.log
Minimal repo :
Very sorry but I do not have time to set one of these up right now. I will try and find the time to get a repo set up as soon as I can.
I am using TS 3.5, NodeJS 8.10.0/10.16.x (tried both), Jest 24.9 and ts-jest 24.0.2.
The text was updated successfully, but these errors were encountered: