Skip to content

"TypeError: Cannot read property" when trying to preview or publish #16

Discussion options

You must be logged in to vote

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#99
You could also try adding the following to your Gemfile to pin exec-js to the previously working version:

gem 'execjs', '2.7.0'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sskylar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant