Comments (8)
Personally, I haven't tested Punch on a Windows box. But installation should work as per these steps provided by others - https://github.com/laktek/punch/wiki/Installing-on-Windows
What are the issues you're experiencing?
from punch.
Installation is fine. "npm install punch -g" does the trick perfectly. All dependencies are met and no errors during installation.
If you start the tutorial it works ok to begin with but when you get to step3 and add intro.markdown into the _index directory it stops working. The markdown file is not picked up and the JSON attribute gets used instead. That rather stalls the tutorial. As mentioned I tried the same thing on Ubuntu and the tutorial worked perfectly.
The other thing is that if you run "punch generate" the whole site stops working. The generated HTML is missing header and footer, and it doesn't look like the markdown is interpreted.
At the moment I would say that punch is unusable on Windows. Because I like punch I've switch development to Ubuntu for the time being but I would rather be on Windows 8 as it's on my laptop.
from punch.
I currently don't have access to a Windows box. I'll try to setup a Windows 8 virtual machine and check where the issue is.
Meanwhile, if you were able to track down the issue, please send a patch.
from punch.
If I get time today I'll take a look.
from punch.
It would be helpful if you could give your thoughts on the cause, maybe include a link to the relevant code, in this case the area of code where delegation to markdown files takes place. Thanks.
Edit: My guess right now is that it's probably a simple windows path issue in the page_renderer.js but I haven't done any debugging.
from punch.
Can you guys try installing Punch version 0.5.22? I have made that release merging pull request #77, which supposedly solve the issues with parsing extended content directories.
from punch.
Got this when creating a new site:
D:\Dropbox\Downloads\Environment\node-0.10.0x64\bin\node_modules\punch\lib\project_creator.js:39
throw err;
^
Error: Command failed:
at ChildProcess.exithandler (child_process.js:602:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:700:16)
at Process.ChildProcess._handle.onexit (child_process.js:767:5)
But I went through the tutorial just fine.
from punch.
This issue is fixed from 0.5.24
from punch.
Related Issues (20)
- TypeError: Cannot call method 'getTime' of null HOT 5
- Ability to add self-contained widgets (css, js, template) HOT 2
- Issues displaying {{date}} HOT 2
- style failed to compile HOT 2
- Cannot start server Connect has no method 'logger' HOT 1
- Can't get this working in a docker container
- Pulling bundle assets from outside local directory
- Punch Plugin: How to find the file path to the "templates" directory? HOT 2
- S3 gzip support
- Failed to read the configurations. HOT 1
- Copy command fails with paths that contain spaces HOT 1
- Failing basic setup HOT 2
- Trouble Implementing Autoprefixer compiler/minifier
- is this still happening? HOT 1
- Themes?
- What is the best practice for i18n?
- Creating intro.markdown in contents/_index during tutorial doesn't render the HTML HOT 1
- Custom compiler works only on generate HOT 4
- Javascript does not bundle HOT 1
- Mime.extension and Mime.lookup is not a function HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from punch.