-
Notifications
You must be signed in to change notification settings - Fork 107
Hands-on tutorial loads blank page #102
Comments
Any updates on this issue? I'd really like to start using Punch, but being unable to progress through the tutorial is really hindering me. |
@Auk14HP I'll try setting up Punch on a Windows 7 machine and see if there are any issues. Last time I checked on a Windows 8 tutorial did work fine. |
Meanwhile, you can use a cloud based dev environment like Nitrous.IO to try out Punch. |
I'm also using punch on Windows 7, 64 bit. I'm facing a similar problem as described above. Partials are not rendered. I fixed the issue by adjusting the following file:lib/template_handler.js - line 235.
replaced by
Path.sep returns \ on Windows 7, which will not work in this case.. As the basePath is always(?) starting with a /? At least basePath returns by default "/index". Applying this change allows to do a proper lookup of the parent folder (.) and find the default _partials. Can you please have look and fix it accordingly? Thanks! |
I've applied the fix above and sent a pull request. #118 |
I recently got around this issue by reinstalling punch via GitBash. After running
punch setup site; cd site; punch s
(as directed by the tutorial), I then navigated tohttp://localhost:9009
in Chrome but all that was displayed was a blank page.I cruised the issues looking for something similar and came across this, but after trying it's solution (delete npm's cache and reinstall punch) I'm still running into the same issue.
I'm using Windows 7, if that helps at all.
The text was updated successfully, but these errors were encountered: