insipx / material-bliss-jekyll-theme

A Material Theme for Jekyll created with React, Redux, and React-Router transpiled with Webpack
GNU General Public License v3.0
77 stars 46 forks source link

./build-dev.sh command results in error #1

Closed weslexcore closed 7 years ago

weslexcore commented 7 years ago

Running the dev command results in this error output -

Warning: Material-UI: userAgent should be supplied in the muiTheme context for server-side rendering.
Warning: validateDOMNesting(...): Text nodes cannot appear as a child of <html>. See Default > html > #text.
Warning: validateDOMNesting(...): <script> cannot appear as a child of <html>. See Default > html > script.
null
null
sed: 1: "src/_layouts/post.html": unterminated substitute pattern
insipx commented 7 years ago

Hey @Wmclaug2

If you could provide what Operating System and Version you are on, I could get this error fixed ASAP

thanks for reporting in :)

weslexcore commented 7 years ago

macOS Sierra v 10.12.3

Thank you for the quick response, @InsidiousMind!

insipx commented 7 years ago

@Wmclaug2

No problem!

Should be fixed. I got rid of the sed commands in ./generate-static which were causing the issue. What sed once did is now accomplished in react-dev/render_to_file.js

This should fix the issue with sed on MacOS

feel free to report back in if it isn't actually fixed/have any other issues