-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Updating to 4.1.1 caused import error #107
Comments
Oh no 😢 @fitted-dru, If would help a great deal if you could come up with a minimal repo that would enable me to reproduce. |
@garronej I believe this is due to the So, I think to solve, the |
Thanks for helping me solve this @dvprrsh. |
Dosen't work with vite. Damn it module format are a nightmare. @dvprrsh can you detail your setup so I can reproduce. |
@garronej not working for me, I think you set the module to |
@garronej @dvprrsh IMHO I don't see how changing Seemingly looking at the error, the cjs loader seems to have taken the |
@jiby-gh You are right of course. I'm trying to solve the issue while in a audiocall but yes, obviously.
Correct, @dvprrsh or @fitted-dru could you give me enough info on your setup so that I can reproduce and figure out what's going on? |
@fitted-dru is |
ah stupid me, well, the built files are not fine, we build only esm version, the cjs version we were supposed to build as |
@garronej should not have removed |
@garronej sorry, I did not fully look at your PR, I added comment in the PR (https://github.com/garronej/tss-react/pull/106/files#r964897025), we need to put back the I would also suggest we release a fix soon with this fix, as |
this was what @dvprrsh was mentioning and he was correct, I just assumed the build was generated properly, my bad |
@dvprrsh ignore my previous request, already know the issue :), as soon as @garronej checks and releases a new version this should work for you |
Yes you are correct, obviously, I check if it wasn't the case but got confused for some reason and it led me to the wrong conclusion. Thank you very much for your help! |
@jiby-aurum and @dvprrsh Do you confirm it's working with v4.1.2? |
Still not working |
I see the problem, it's something else |
Thank you @garronej. Downgrading to 4.0.0 works too but it's better to update a library ;) |
@garronej @jiby-aurum No problem, and thank you for fixing it so quick! 😊 |
I upgraded from 4.0.0 to 4.1.1, and got the following error when building my project:
I did not try 4.1.0
The text was updated successfully, but these errors were encountered: