Skip to content
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

[Bug]: including a referenced tsconfig.json won't compile #3273

Open
Raffaello opened this issue Feb 11, 2022 · 1 comment
Open

[Bug]: including a referenced tsconfig.json won't compile #3273

Raffaello opened this issue Feb 11, 2022 · 1 comment
Labels
🐛 Bug Confirmed Bug is confirmed

Comments

@Raffaello
Copy link

Raffaello commented Feb 11, 2022

Version

27.1.3

Steps to reproduce

  1. include a referenced project in tsconfig.json and the referenced to be composite
  2. use some of the referenced project in the test,
  3. you will have the error
Unable to process '', please make sure that `outDir` in your tsconfig is neither `''` or `'.'`. You can also configure Jest config option `transformIgnorePatterns` to inform `ts-jest` to transform [filename].ts

outDir of course is set up.

Expected behavior

it should transpile the .ts file with the imported stuff from the referenced repo.

Actual behavior

it doesn't work.

Unable to process '', please make sure that `outDir` in your tsconfig is neither `''` or `'.'`. You can also configure Jest config option `transformIgnorePatterns` to inform `ts-jest` to transform [filename].ts

Debug log

.

Additional context

No response

Environment

.
@Raffaello Raffaello changed the title [Bug]: including a referenced object won't compile [Bug]: including a referenced module won't compile Feb 11, 2022
@Raffaello Raffaello changed the title [Bug]: including a referenced module won't compile [Bug]: including a referenced tsconfig.json won't compile Feb 11, 2022
@ahnpnl
Copy link
Collaborator

ahnpnl commented Feb 22, 2022

Duplicate with #1648

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Confirmed Bug is confirmed
Projects
None yet
Development

No branches or pull requests

2 participants