You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a monorepo that contains various packages. tsx cannot resolve a package's dependencies on another local package.
For example:
- @org/a
- foo.ts
- @org/b
- node_modules (contains symlink for @org/a)
- bar.ts (which imports from @org/a)
- bar.test.ts (tests some function in bar.ts)
The error that ts-mocha throws is ERR_UNKNOWN_FILE_EXTENSION. If you remove the import from @org/a in bar.ts the same tests runs without issues.
Bugs are expected to be fixed by those affected by it
I'm interested in working on this issue
Compensating engineering work will speed up resolution and support the project
I'm willing to offer $10 for financial support
The text was updated successfully, but these errors were encountered:
Acknowledgements
Minimal reproduction URL
https://github.com/wjthieme/tsx-symlink-bug
Problem & expected behavior (under 200 words)
I have a monorepo that contains various packages. tsx cannot resolve a package's dependencies on another local package.
For example:
The error that ts-mocha throws is
ERR_UNKNOWN_FILE_EXTENSION
. If you remove the import from@org/a
in bar.ts the same tests runs without issues.Bugs are expected to be fixed by those affected by it
Compensating engineering work will speed up resolution and support the project
The text was updated successfully, but these errors were encountered: