Giter Site home page Giter Site logo

Node 0.4.x support about wintersmith HOT 5 CLOSED

jnordberg avatar jnordberg commented on August 10, 2024
Node 0.4.x support

from wintersmith.

Comments (5)

jnordberg avatar jnordberg commented on August 10, 2024

Can you post the output of wintersmith preview -v

from wintersmith.

iromli avatar iromli commented on August 10, 2024

Using preview -v:

  starting preview server
  using config file: /opt/contrib/groovematic/config.json
  server running on: http://localhost:5000/

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
TypeError: Object #<Object> has no method 'relative'
    at /home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/lib/content.js:173:31
    at Object.contents (/home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/node_modules/async/lib/async.js:532:23)
    at /home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/node_modules/async/lib/async.js:467:24
    at /home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/node_modules/async/lib/async.js:86:13
    at Array.forEach (native)
    at /home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/node_modules/async/lib/async.js:26:24
    at Object.forEach (/home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/node_modules/async/lib/async.js:85:9)
    at Object.parallel (/home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/node_modules/async/lib/async.js:466:19)
    at /home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/lib/server.js:44:22
    at /home/iromli/.nvm/v0.4.12/lib/node_modules/wintersmith/node_modules/async/lib/async.js:517:34

And this is the content of config.json:

{
    "locals": {
        "url": "http://localhost:5000/",
        "name": "The Wintersmith's blog",
        "owner": "The Wintersmith",
        "description": "-32°C ain't no problems!",
        "index_articles": 3
    }
}

from wintersmith.

jnordberg avatar jnordberg commented on August 10, 2024

Found the problem.

It's because node 0.4 does not have path relative. I'll add 0.4 support when i get time, for now use node 0.6 if possible.

ref: https://github.com/joyent/node/blob/master/lib/path.js#L335

from wintersmith.

iromli avatar iromli commented on August 10, 2024

i see ... thanks alot

from wintersmith.

jnordberg avatar jnordberg commented on August 10, 2024

I've decided to skip node 0.4 support now with node 0.8 around the corner.

from wintersmith.

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.