News for hackers. Stuff that matters.
Re:Yeoman 1.0 Released by nivertech on Friday August 23, 2013 @09:20AM (#6263318)
does it work with latest node v0.10.17 ?
Re:Yeoman 1.0 Released by ch0wn on Friday August 23, 2013 @09:22AM (#6263335)
Yes.
Re:Yeoman 1.0 Released by nivertech on Friday August 23, 2013 @09:34AM (#6263442)
Are you sure?

    $ node -v
    v0.10.17
    
    $ yo -v
    1.0.0
    
    # this works:
    $ yo webapp
    ...
    
    # this doesn't:
    $ yo
    ...
    fs.js:427
      return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                    ^
    TypeError: path must be a string
        at Object.fs.openSync (fs.js:427:18)
        at Object.fs.readFileSync (fs.js:284:15)
        at yoyo.Base.rootGeneratorName (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/base.js:533:24)
        at yoyo.Base._setStorage (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/base.js:542:34)
        at yoyo.Base (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/base.js:85:8)
        at new yoyo (/usr/local/lib/node_modules/yo/bin/yoyo.js:12:18)
        at Environment.create (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/env.js:366:10)
        at Environment.run (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/env.js:409:24)
        at init (/usr/local/lib/node_modules/yo/bin/yo:97:7)
        at pre (/usr/local/lib/node_modules/yo/bin/yo:109:3)
Re:Yeoman 1.0 Released by ch0wn on Friday August 23, 2013 @09:40AM (#6263493)
Guessing here, but you might have some older, incompatible generators installed. Could you try to reinstall your global generators?
Re:Yeoman 1.0 Released by nivertech on Friday August 23, 2013 @09:41AM (#6263502)
I wiped out all npm modules and reinstalled node. Still getting error. I installed yeoman using:

    sudo npm install -g yo generator-webapp grunt-contrib-compass
Re:Yeoman 1.0 Released by ch0wn on Friday August 23, 2013 @10:06AM (#6263660)
That shouldn't happen then. Would you mind opening an issue at https://github.com/yeoman/yo/issues about this?
Re:Yeoman 1.0 Released by saidajigumi on Friday August 23, 2013 @12:37PM (#6264634)
For those following along at home, this issue is now tracked at:

https://github.com/yeoman/yo/issues/69

Re:Yeoman 1.0 Released by stephenplusplus on Friday August 23, 2013 @01:54PM (#6265148)
Resolved :) But it would be great if you could test to make sure it's fixed.