Giter Club home page Giter Club logo

Comments (9)

thisjustin avatar thisjustin commented on July 2, 2024

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.

pjkix avatar pjkix commented on July 2, 2024

+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.

HammyNZ avatar HammyNZ commented on July 2, 2024

+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.

klamping avatar klamping commented on July 2, 2024

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.

klamping avatar klamping commented on July 2, 2024

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.

HammyNZ avatar HammyNZ commented on July 2, 2024

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.

hughsk avatar hughsk commented on July 2, 2024

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.

ksmth avatar ksmth commented on July 2, 2024

I have had exactly the same issue, but cloning the current version as you recommended fixed everything.

from kss-node.

hughsk avatar hughsk commented on July 2, 2024

Looks like the NPM update didn't go through before, it should be up to date now.

from kss-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.