ericalli / static-site-boilerplate

A better workflow for building modern static websites.
http://staticsiteboilerplate.com
MIT License
1.74k stars 166 forks source link

Unmodified clone doesn't build #67

Closed deniskabana closed 3 years ago

deniskabana commented 3 years ago

UPDATE TO COME, SKIP NPM PART FOR NOW

Describe the bug Script build:dist fails with error on clean clone (without any modifications) during css parsing. Error was not catched, can't be easily diagnosed by through terminal output.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://staticsiteboilerplate.com and finish all setup steps
  2. Open dir, run yarn && yarn build:dist
  3. See error

Expected behavior Should build without errors.

Screenshots Yarn (yarn && yarn build:dist) on a clean clone

Screenshot 2021-01-12 at 12 33 51

Desktop (please complete the following information):

ericalli commented 3 years ago

Thanks for the detailed info! I'm almost certain this is due to the older Node version you are currently using. If possible, upgrade to a version above Node v10 which should solve the issues you mentioned.