Tejas Pancholi
Jul 20, 2017 · 1 min read
“production”: “SET NODE_ENV=production & webpack -p”

The above command is giving error as “cannot read property sections of null” which is caused by the “-p” in the command which is causing the plugin to run twice. Based on the github comment and solution it suggests to remove the “-p” from the command. Can you please update the tutorial.

solution link:- https://github.com/developit/preact-boilerplate/issues/208

Great tutorial by the way!!!

)
    Tejas Pancholi

    Written by

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade