# Jekyll Build causing error

**URL:** <https://talk.jekyllrb.com/t/jekyll-build-causing-error/856>\
**Category:** Help\
**Created:** [August 2, 2017, 6:39pm UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856 "2017-08-02T18:39:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [August 2, 2017, 6:39pm UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/1 "2017-08-02T18:39:15Z")

</div>

I’m trying to use Jekyll Build to generate my \_site files but I’m stumbling into the following errors in terminal:

Not sure what steps I need to take to move forward. Ahhh.

```
Christians-MacBook-Pro:faculty christians$ jekyll build
WARN: Unresolved specs during Gem::Specification.reset:
      rb-fsevent (>= 0.9.4, ~> 0.9)
      rb-inotify (>= 0.9.7, ~> 0.9)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/runtime.rb:317:in `check_for_activated_spec!': You have already activated liquid 4.0.0, but your Gemfile requires liquid 3.0.6. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
	from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/runtime.rb:32:in `block in setup'
	from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/forwardable.rb:229:in `each'
	from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/forwardable.rb:229:in `each'
	from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/runtime.rb:27:in `map'
	from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/runtime.rb:27:in `setup'
	from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler.rb:101:in `setup'
	from /usr/local/lib/ruby/gems/2.4.0/gems/jekyll-3.5.0/lib/jekyll/plugin_manager.rb:48:in `require_from_bundler'
	from /usr/local/lib/ruby/gems/2.4.0/gems/jekyll-3.5.0/exe/jekyll:9:in `<top (required)>'
	from /usr/local/bin/jekyll:22:in `load'
	from /usr/local/bin/jekyll:22:in `<main>'
```

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [August 2, 2017, 8:30pm UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/2 "2017-08-02T20:30:29Z")

</div>

> [@solochris14](#):
>
> You have already activated liquid 4.0.0, but your Gemfile requires liquid 3.0.6. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

The solution may be in the error message above. Have you tried doing what it suggests by prepending the Jekyll commands with `bundle exec`?

```auto
bundle exec jekyll build
bundle exec jekyll serve

```

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [August 3, 2017, 11:33pm UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/4 "2017-08-03T23:33:34Z")

</div>

Okay, I did the following in terminal:

`bundle exec jekyll build`

and it generated my \_site directory. However, in Google’s Inspector, I’m receiving the following new error:

`Failed to load resource: net::ERR_FILE_NOT_FOUND`

Seems to not be locating my `main.css` file.

Sounds like that’s a whole different problem now. Any suggestions?

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [August 4, 2017, 3:29am UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/6 "2017-08-04T03:29:21Z")

</div>

Sounds like a path issue with that asset. You have a public repo to help with troubleshooting?

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [August 5, 2017, 8:56pm UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/7 "2017-08-05T20:56:09Z")

</div>

Here’s my repo: [https://github.com/christiantype/faculty](https://github.com/christiantype/faculty)

Thanks

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [August 7, 2017, 10:07am UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/8 "2017-08-07T10:07:11Z")

</div>

You don’t need to add the extension to your `import` statement.

```diff
- @import "normalize.css";
+ @import "normalize";

```

If the above raises any flags, rename **`normalize.css`** to **`normalize.scss`**

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [August 7, 2017, 3:02pm UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/9 "2017-08-07T15:02:49Z")

</div>

Okay, I renamed **normalize.css** to **normalize.scss** and changed my `@import statement` to what you suggested.

I receive this in terminal now:

```
 Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss':
                    File to import not found or unreadable: normalize. Load path: /Users/christians/Documents/faculty/_sass on line 3
```

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [August 7, 2017, 3:38pm UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/10 "2017-08-07T15:38:59Z")

</div>

Ah yes, I forgot to mention… your new **`normalize.scss`** should be in `_sass` not in `assets`

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [August 11, 2017, 3:13am UTC](https://talk.jekyllrb.com/t/jekyll-build-causing-error/856/11 "2017-08-11T03:13:50Z")

</div>

Hmm—I did that and my styles are still not generated in my `_site` directory.
