Re:Yeoman 1.0 Released
by nivertech on Friday August 23, 2013 @09:20AM
(#6263318)
does it work with latest node v0.10.17 ?
[ Parent
| on HN ]
Yes.
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)Guessing here, but you might have some older, incompatible generators installed. Could you try to reinstall your global generators?
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-compassThat 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:
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.