Skip to content

Commit

Permalink
Force minimum version of autoprefixer-rails
Browse files Browse the repository at this point in the history
At lesser versions, the test suite encounters an error and cannot run:

    Failure/Error: Unable to find eval (eval at <anonymous> ((execjs) to
      read failed line

    ExecJS::ProgramError:
      TypeError: Cannot read property 'version' of undefined
      # eval (eval at <anonymous> ((execjs):1:213), <anonymous>:1:10)
      # (execjs):1:213
      # (execjs):19:14
      # ...

This seems related to the issue reported on Solidus:
solidusio/solidus#4055. Adding `autoprefixer-rails` at the latest
version side-steps the issue.
  • Loading branch information
benjaminwil committed May 21, 2021
1 parent e521525 commit 1f3ea1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solidus_related_products.gemspec
Expand Up @@ -35,6 +35,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'deface', '~> 1.0'

spec.add_development_dependency 'solidus_dev_support', '~> 2.3'
spec.add_development_dependency 'autoprefixer-rails', '~> 10.2.5'
spec.add_development_dependency 'rspec-activemodel-mocks'
spec.add_development_dependency 'shoulda-matchers'
end

0 comments on commit 1f3ea1e

Please sign in to comment.