Comments (9)
I'm having a similar issue - my generated public folder has kss.css, kss.js, kss.less, less.js, markdown.less and prettify.js in it but no HTML.
When running kss-node I get "Cannot read property '0' of null"
What might the issue be?
from kss-node.
+1 same issues here "Cannot read property '0' of null" and even when there is no error i still get no html :(
from kss-node.
+1 same issue for me too. I get all of the public folder contents but no html file is created. Even when I create a fresh template (default template with no updates), no html file is generated
from kss-node.
I've been looking into this and it seems that there's trouble in the registerHelper functions in kss-node. I've been able to fix the issue described here, but am running in to similar issues as things keep breaking. I'm going to keep troubleshooting but am running out of time tonight.
from kss-node.
Looks like using an older version of Handlebars solves this issue. I've submitted a pull request to update the dependencies information. See #13 for more information.
from kss-node.
I've tried re installing kss (Windows 7, Node v0.8.12)
For example (I'm a noob so adding details to make sure I am doing the right thing):
Step one - Uninstall Kss: npm uninstall -g kss
Step two - Install Kss from local with updated package.json: npm install -g [FolderLocationOfUpdatedPackage])
Step three - Verify dependencies have updated ([email protected]): npm ls -g
Step four - Generate guide in project folder: kss-node content/css styleguide
OR kss-node content/css styleguide --css style.css
However I still have the issue of no html being generated. Is this update working for anyone else?
from kss-node.
I've just merged a couple of fixes, and the demo project seems to be working for me - try this:
# Clone the repo
git clone git://github.com/hughsk/kss-node.git
cd kss-node
# Generate a "styleguide" folder
node bin/kss-node demo styleguide --less demo/styles.less
If there aren't any error messages, and the demo styleguide is generated, then it might be something to do with Windows or your project files?
from kss-node.
I have had exactly the same issue, but cloning the current version as you recommended fixed everything.
from kss-node.
Looks like the NPM update didn't go through before, it should be up to date now.
from kss-node.
Related Issues (20)
- 3 level navigation
- An in-range update of twig is breaking the build 🚨 HOT 1
- How can I forward options into twig.js?
- ScrollSpy conflict
- Define styleguide components in the template directly HOT 2
- Generate example html from SASS? HOT 1
- Use different builders for different sections of the styleguide?
- Does not work if not installed globally
- v3.0.1 failing with permissions issues HOT 6
- v.3.0.0 Update may require relative path changes to projects HOT 1
- kss not recognizing handlebars code HOT 1
- v3.0.1 outputs: "Version 9 of Highlight.js has reached EOL" HOT 9
- Node versions >= 14
- Update SASS in kss-node-handlebars-builder
- Add option to load JavaScript in rendered styleguide as ES6 module HOT 1
- Extending handlebars helpers not working. v3.1.0 HOT 1
- Question: Do I need to write any javascript to extend handlebars to register partials? HOT 2
- Can I show variables with encoded SVG icons in the styleguide without hard-coding the values?
- ::selection as a modifier HOT 1
- kss-node multiple markup on page?
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 kss-node.