V8::Error: Unrecognised input when upgraded from 3.7.2 to 3.7.3
chandni31 opened this issue · 0 comments
Expected behavior
the build should pass. bundle exec rake assets:precompile
Actual behavior
Tell us what should happen
we are using 'sprockets', '3.7.3' which throws the error
Caused by:
V8::Error: Unrecognised input
/.rvm/gems/ruby-2.7.7/gems/less-2.6.0/lib/less/parser.rb:74:in `block (2 levels) in parse'
at the finish (/.rvm/gems/ruby-2.7.7/gems/less-2.6.0/lib/less/js/lib/less/parser.js:666:28)
But the error is resolved when downgrading the 'sprockets', '3.7.2' for the same code set.
Tell us what happens instead
System configuration
- Sprockets version 3.7.3/3.7.2
- Ruby version 2.6/2.7
Example App (Reproduction) - THIS IS IMPORTANT YOUR ISSUE LIKELY WILL NOT BE RESOLVED WITHOUT THIS
Please provide an example app that reproduces the problem. This will save maintainers time so they can spend it fixing your issues instead of trying to build a reproduction case from sparse instructions.
To create an example app, make an application locally that uses your same version of Sprockets. Add files to reproduce the problem. Once you've reproduced the problem add instructions on how to run your example app to a README.md file. Then commit everything to git and push to a new project on github. Once you've pushed your app add a link back to this issue.