-
Notifications
You must be signed in to change notification settings - Fork 416
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
The expression evaluated to 'undefined' ... #1287
Comments
Hi @asvinb! |
👋 @Anber , indeed I have multiple entry points. 👍 |
Well, at least we know what went wrong. Now I need to understand why and how to fix it :) |
👋 @Anber any ETA on a fix for this? Thanks! |
I doubt it, but maybe the new version has fixed that error since I couldn't reproduce the problem. |
@Anber Sadly upgrading to the latest version, |
@asvinb Is there any chance that you can provide a repo that reproduces this error? |
@Anber I'll setup a repo and provide you with the details. |
Hi @asvinb! |
Nice thanks for the update @Anber ! |
@asvinb @PierreGUI the fix is going to be released in a few minutes. Could you please check it? |
Thanks @Anber . I will check and let you know. |
Thanks @Anber! Unfortunately the new release doesn't build in my project yet :/ |
I opened another issue that might or might not be related. The error message is the same and it also started happening in the latest couple of versions. It has a reproducible demo. #1304 |
Well… let's try again :) |
Sorry, would love to do that but I'm away atm
Will try when I'm back. Cheers
…On Thu, 27 Jul 2023, 21:18 Anton Evzhakov, ***@***.***> wrote:
Well… let's try again :)
It would be cool if someone could build Linaria locally and check if the
issue was fixed.
—
Reply to this email directly, view it on GitHub
<#1287 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHXREHB5CZYZH7O4TLP45LXSK5I5ANCNFSM6AAAAAA2OLAJPY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Anber Sorry I was out for a few days. I was unable to replicate the issue when trying to recreate the same setup so that you can have a look. However on my existing repo (proprietary code), the fix is not working. I'll try to recreate and ping you. |
The fix for my issue is not in any release yet. It was merged 2 days after 4.5.4 was released. Staying on earlier version of linaria works fine for me until 4.5.5 is released. |
@Anber Alas, the build from latest master branch (da191b5) doesn't seem to fix my build 😢
|
Hi @PierreGUI! |
Hi guys! I would greatly appreciate it If you could check your build with this branch #1330. All recent PRs will be released as 5.0 because the processing was almost completely rewritten. There is still some work to be done to polish and improve the debug experience, so if you can provide some feedback, I can release the new version faster and, hopefully, with better stability and performance :) |
I get errors from all commits newer than a4263c4
Results: Most of these gave a ton of errors in different files so i might have missed some. |
The only errors i get using that branch is react-modal claiming the element doesn't exist when this line execute during eval I expect linaria have no guarantees about code like that working so I'm happy to call that "works as intended" other than the slightly weird additional error about missing module being a bit confusing. Great work! Looking forward to the build time improvements when we can land this in our project. |
Hi @GabbeV, |
@Anber This is still a problem with v4.5.4. |
Hi @therealgilles! |
Thanks for confirming, I think it's good to let people know. Will there be a 4.5.5 with an equivalent fix or is 4.5.* dead? |
@therealgilles I'm afraid it's impossible to fix it for 4.… However, the 5.0 is just a more stable version of 4. without planned breaking changes for end-users. I got access to the massive codebase that helped catch and fix many bugs in processing. We still have a couple of problems, but everything looks bright to release the new version by the end of the month. |
@Anber That's great news, can't wait to try v5 out! |
v5 is out, please check if your problems still occur 🐱 |
@Anber Am getting the following error now:
Adding the |
@asvinb @therealgilles it may be fixed by @layershifter in #1356 |
Hi @asvinb @therealgilles |
Hi @Anber, I got some new errors with 5.0.3:
and
and
I've also noticed that the runtime is longer as some of the CI timed out. But probably best to focus on the errors first. |
Do you have |
Do you mean UPDATE: I confirm this is from the Jest CI run. |
|
Environment
4.5.2
webpack 5.88.2
v18.12.1
Description
After upgrading to the latest version of Linaria, I'am getting the following errors across all components:
styles
is just an object containing CSS rules.Same code works with Linaria v4.3.8 without any issues.
Reproducible Demo
The text was updated successfully, but these errors were encountered: