-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Unresolving of absolute imports (typescript) #6286
Comments
➕ Also experiencing this issue! Thanks @azinit for raising it |
Thanks for reporting this! We're going to look into it! |
Had no clue we supported this so forgot to support it in the new resolver, will implement this as part of the Related to #807 |
It's strange because it worked correctly before (at least at October) 🤔 |
Yup, it's definitely a regression just forgot we supported it, so forgot to include it in the new resolver. Will implement this tomorrow, sorry about this |
Our nearly 100 CodeSanboxes were corrupted. We are very happy to see that this will be fixed. 👍 |
Just merged the fix that re-implements this logic, feel free to let me know (tag me) if any related issues pop up again. Again sorry about this bug |
Still happening Also, downloading the out-of-the-box basic react project Codesandbox offers, and then running
|
Please add a way to reproduce this as the examples in here work |
@DeMoorJasper - for example, this used to work, and did not change for a long time https://codesandbox.io/s/ppkid If you download and run this project locally, it would work. only in codesandbox it does not :( I have a large supply of such examples. |
@yairEO Thanks, this is caused by our pre-packager not including the correct files, now that we support We have a new version of the pre-packager planned, unfortunately that takes a bit of time so this won't be solved quickly, will log this internally and see if I can come up with a quicker fix sometime this week |
🐛 bug report
Preflight Checklist
adheres to.
to file, without success.
Description of the problem
At November 15 I had noticed, that my existing codesandbox projects had been crashed - because of unresolving of absolute imports
It's interesting that IDE autocomplete "sees" correct and actual imports by tsconfig, but at any time - build of project fails
Unfortunately, it is not reproducible locally and looks like yet one codesandbox bug :(
How has this issue affected you? What are you trying to accomplish?
I've tried:
To Reproduce
OR
Add aliases for imports
Link to sandbox: link (optional)
Your Environment
f89852e88
The text was updated successfully, but these errors were encountered: