Netlify deployment “failed during stage 'building site': Build script returned non-zero exit code: 42”

狂风中的少年 提交于 2019-12-04 07:52:07

The error you're seeing should just be a warning and shouldn't impact deployment. I'd double-check the netlify logs again and see if there's another error you can find.

The latest published version of jekyll-sass-converter still uses the sass gem. It looks like they haven't released a new version that uses sassc yet.

If you add the below to your Gemfile, and then run bundle install, Jekyll will pick up the version that uses sassc instead of sass and get you past the warning you see

gem 'jekyll-sass-converter', git: 'https://github.com/jekyll/jekyll-sass-converter', branch: 'master'

If that doesn't work, try and build your site locally first and see if you get any errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!