Closed ericjim closed 7 years ago
Just published harp@0.23.0
. Do you mind seeing if you still get this error?
@sintaxi Just tried harp@0.23.0
, I still get the same result. It might be worth noting that harp server
runs and I can view all my pages. I will be systematically removing parts of the site, to see if the Parse Error:
still occurs. It's also worth noting that I am using .ejs
files.
@sintaxi I think I sorted out what the problem was. My node_modules
exist at the root level of my project along with my site files, my guess is that when I run harp compile
Harp will try to compile something it doesn't understand. To solve this issue, i've separated my site and my dependencies by placing my .ejs
files in a src
folder, and then running harp compile ./src
Ok great. Thanks a lot for testing.
Thanks @ericjim. I was experiencing the same issue. Removing my node_modules
from the src
directory did the trick!
I am trying to compile my site, and I get the following error:
My setup:
Has anyone seen this before? We are using Harp to host the Angular Augury site (source) cc @mobinni