Yeoman 1.0 Released
yeoman.io
Yeoman 1.0 Released
1–10 of 58 posts
Re: Yeoman 1.0 Released
#2Besides just being a great package overall, Yeoman really helped me appreciate how what seem like trivial niceties -- the speed of auto-build vs. stopping and restarting the local server and hitting Refresh -- can really make the difference between gradually losing interest because of the accumulation of small inconveniences and actually enjoying the development process enough to finish a project.
Re: Yeoman 1.0 Released
#3Re: Yeoman 1.0 Released
#4Re: Yeoman 1.0 Released
#5does it work with latest node v0.10.17 ?
Re: Yeoman 1.0 Released
#6does it work with latest node v0.10.17 ?
Yes.
$ 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
#7Re: Yeoman 1.0 Released
#8Re: Yeoman 1.0 Released
#9Earlier quoted context omitted.
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 yo…
Re: Yeoman 1.0 Released
#10Earlier quoted context omitted.
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 yo…
Guessing here, but you might have some older, incompatible generators installed. Could you try to reinstall your global generators?
sudo npm install -g yo generator-webapp grunt-contrib-compass