philhawksworth / eleventyone

A scaffold for a quick start building with the Eleventy SSG
https://eleventyone.netlify.com
MIT License
466 stars 113 forks source link

Local build fails on Windows #2

Open maeligg opened 6 years ago

maeligg commented 6 years ago
$ yarn run build
yarn run v1.7.0
$ gulp build && yarn run build:functions
[16:39:42] Using gulpfile ~\Documents\Personal_projects\eleventyone\gulpfile.js
[16:39:42] Starting 'build'...
[16:39:42] Starting 'generate'...
Writing dist/index.html from ./src/site/index.md.
Writing dist/about/index.html from ./src/site/about.md.
Writing dist/search.json from ./src/site/search.njk.
Writing dist/posts/a-post/index.html from ./src/site/posts/a-post.md.
Writing dist/posts/another-post/index.html from ./src/site/posts/another-post.md.
Processed 5 files in 0.31 seconds
[16:39:45] Finished 'generate' after 2.29 s
[16:39:45] Starting 'assets'...
[16:39:45] Starting 'images'...
[16:39:45] Starting 'styles'...
[16:39:45] Starting 'scripts'...
[16:39:45] Starting 'resize_400'...
[16:39:45] Starting 'resize_1000'...
[16:39:45] Starting 'copyOriginalImages'...
[16:39:45] Finished 'scripts' after 19 ms
[16:39:45] Finished 'resize_400' after 29 ms
[16:39:45] Finished 'resize_1000' after 30 ms
[16:39:45] Finished 'copyOriginalImages' after 31 ms
[16:39:45] Finished 'images' after 33 ms
[16:39:45] The following tasks did not complete: build, assets, styles
[16:39:45] Did you forget to signal async completion?

events.js:183
      throw er; // Unhandled 'error' event
      ^
Error: Error: write EOF
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This appears to be a separate issue from https://github.com/philhawksworth/eleventyone/issues/1 Not sure what the root cause might be, will investigate if I have some time.

jonnyburch commented 6 years ago

I am also having this issue. Would love some help!

stickhandle commented 5 years ago

This should get the windows build working (assuming you are using choco as you package mgr: choco install graphicsmagick

mariealine commented 5 years ago

I have also this issue on mac OS. After launch EleventyOne from netlify template, it's working online but not locally. It's weird.

DirtyF commented 5 years ago

@mariealine it's workin fine for me, what's your node version?

stickhandle commented 5 years ago

@mariealine - you need graphicsmagick installed local

brew install graphicsmagick

see https://github.com/philhawksworth/eleventyone/issues/1#issue-339182269