Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Compound does not work with node 0.10.0 #459

Closed
ldub opened this Issue · 10 comments

4 participants

@ldub

I am using Windows 8 (and the node versions I install are all x64)
1. Install node 0.9.9
2. "npm install compound -g"
3. "compound init hello"
---> bunch of create statements, everything works flawlessly.

  1. Install node 0.10.0
  2. "npm install compound -g"
  3. "compound init hello"
    ---->

    C:\Users\Lev\test>compound init hello

    path.js:204
    throw new TypeError('Arguments to path.join must be strings');
    ^
    TypeError: Arguments to path.join must be strings
    at f (path.js:204:15)
    at Object.filter (native)
    at Object.exports.join (path.js:209:40)
    at CompoundServer.module.exports as extensions
    at CompoundServer.initCompound (C:\Users\Lev\AppData\Roaming\npm\node_modules\compound\lib\compound.js:100:14)
    at CompoundServer.init (C:\Users\Lev\AppData\Roaming\npm\node_modules\compound\lib\server\compound.js:42:29)
    at C:\Users\Lev\AppData\Roaming\npm\node_modules\compound\lib\compound.js:61:18
    at process._tickCallback (node.js:415:13)
    at Function.Module.runMain (module.js:499:11)
    at startup (node.js:119:16)

    at node.js:903:3

Sorry, I can't seem to format the code block with the GitHub Flavored Markdown

@anatoliychakkaev
Collaborator
@ldub

Thanks a lot!
I want to test it: How can I install from this commit? Is it on the master branch, and is it available through npm?

@anatoliychakkaev
Collaborator
@ldub

Installed, but same error persists. (Node 0.10.0 now)

@anatoliychakkaev
Collaborator
@ldub

Ok, it works now. Thanks for such a quick fix!

@ldub ldub closed this
@amit0rana

Hi, this patch didn't work for me. I am on ubuntu. Do I need to do something different?

$ sudo npm install 1602/compound
compound@1.1.5-17 node_modules/compound
├── seedjs@0.0.4-1
├── jade-ext@0.0.7-9
├── ejs-ext@0.1.4-5
├── kontroller@0.0.9-13
├── coffee-script@1.6.1
├── yaml-js@0.0.5
└── railway-routes@0.0.9 (express@3.1.0)

$ compound

path.js:360
throw new TypeError('Arguments to path.join must be strings');
^
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at CompoundServer.module.exports as extensions
at CompoundServer.initCompound (/usr/local/lib/node_modules/compound/lib/compound.js:100:14)
at CompoundServer.init (/usr/local/lib/node_modules/compound/lib/server/compound.js:42:29)
at /usr/local/lib/node_modules/compound/lib/compound.js:61:18
at process._tickCallback (node.js:415:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:903:3

$ node -v
v0.10.0

@anatoliychakkaev
Collaborator
@amit0rana

No it does work. My mistake I didnt install it globally. Works fine now.

@twreid

This fixed it for me too. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.