-
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
LexerError: Lexical error on line 1: Unrecognized text. #3565
Comments
Could you find the way to reproduce it locally, not on Heroku? What's the difference? |
|
Thanks, could you provide your |
I couldn't find
|
Could you try upgrading |
I updated
|
What do you have in Sorry for asking many questions, but I can't reproduce this. If you can reproduce by using dummy_app it'll be easier for me to track down the cause. |
This is the
and this is
|
Still unreproducible by using |
Having the same issue upgrading from 3.0 to 3.1.0 |
@mjtribble Then could you follow this comment? |
@mshibuya Continuing from the error listed here #3565 (comment) after
config/webpacker.yml
package.json
|
Let me summarize here. The original issue
seems to be fixed by upgrading dependencies, so I won't go into details now. And for the second one,
I struggled a bit to reproduce but finally I could. This happens only with the combination of Font-Awesome 6.x and postcss-preset-env(Webpacker uses it by default). RailsAdmin 3.1.0 switched its FontAwesome dependency from 5.x to 6.x, so Webpacker users are facing this issue upon RailsAdmin 3.1.0 upgrade. The issue is tracked in Font-Awesome side as FortAwesome/Font-Awesome#18899, but seeing no progress as of now. postcss-values-parser already has the fix in place, but it's impossible to use it since the webpacker npm package is locked against the older version. So the solution here is one of following:
|
Describe the bug
In production (Heroku) assets fail to compile due to a lack of interpolation for an SCSS variable. Locally it compiles without issues. From my research, it seems that the $avatar-size variable should be wrapped in #{} Similar issue was found here.
Reproduction steps
git push heroku master
Expected behavior
Assets should compile with any issues.
Additional context
rails
version: 6rails_admin
version: 3.1.0rails_admin
npm package version: 3.1.0The text was updated successfully, but these errors were encountered: