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

Path aliasing issue with tsc-alias since v1.4.2 #229

Open
KarlG-03 opened this issue Aug 3, 2024 · 1 comment
Open

Path aliasing issue with tsc-alias since v1.4.2 #229

KarlG-03 opened this issue Aug 3, 2024 · 1 comment

Comments

@KarlG-03
Copy link

KarlG-03 commented Aug 3, 2024

BUG REPORT

Error when importing mqtt

Error: Cannot find module '../mqtt'

minimal reproducible example

Workaround

  • a work around is downgrand tsc-alias to 1.4.1
  • rename the container folder to anything but mqtt (the import)
@hristovdev
Copy link

I am facing the same issue. It seems tsc-alias replaces imports like the one in the report even if tsconfig's paths are empty

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

No branches or pull requests

2 participants