Problem getting kanso to run

45 views
Skip to first unread message

Noah Slater

unread,
Sep 23, 2012, 9:57:23 AM9/23/12
to ka...@googlegroups.com
I'm just getting started with kanso, and I have run into this error getting kanso to run.

Noah-Slaters-MacBook-Air:twitter nslater$ node -v
v0.8.9
Noah-Slaters-MacBook-Air:twitter nslater$ kanso
Error: Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
    at Function.Module._compile.Object.defineProperty.get (module.js:386:11)
    at Object.<anonymous> (/usr/local/lib/node/kanso/deps/dustjs/lib/server.js:6:8)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/usr/local/lib/node/kanso/deps/dustjs/lib/dust.js:511:7)
    at Module._compile (module.js:449:26)
Failed
Noah-Slaters-MacBook-Air:twitter nslater$ echo $NODE_PATH
/usr/local/lib/node

Ryan Ramage

unread,
Sep 23, 2012, 10:10:23 AM9/23/12
to ka...@googlegroups.com
Hey Noah,

I am wondering if your kanso might need to be updated, and your node
downgraded. I am on the following:

node -v
v0.8.6

kanso -v
0.2.1

I know kanso has not been thoroughly test on node 0.8.x m but it
seems to work fine at the level I am at. Node did change the require
paths stuff and caolan had fixed that. So give updating your kanso a
shot. I see I am even behind a version as a 0.2.2 was put out 3 months
ago.

Ryan

Caolan McMahon

unread,
Sep 23, 2012, 8:35:36 PM9/23/12
to ka...@googlegroups.com
If you're still having problems Noah, please create an issue on GitHub
for me :)
Reply all
Reply to author
Forward
0 new messages