"TypeError: Cannot read property" when trying to preview or publish #16
-
After merging recent changes to the site and attempting to preview and publish i'm seeing the error:
The site builds locally fine with no Jekyll errors. What's happening?! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The issue turned out to be because we're using the plugin From Siteleaf support: It looks like a bug was introduced a couple days ago: vwochnik/jekyll-autoprefixer#11
|
Beta Was this translation helpful? Give feedback.
The issue turned out to be because we're using the plugin
jekyll-autoprefixer
.From Siteleaf support:
It looks like a bug was introduced a couple days ago: vwochnik/jekyll-autoprefixer#11
The underlying issue is in a dependency called
exec-js
: rails/execjs#99You could also try adding the following to your Gemfile to pin
exec-js
to the previously working version:gem 'execjs', '2.7.0'