Closed emirotin closed 11 years ago
What version of mimosa?
mimosa --version
nevermind, can duplicate.
This does not happen if you provide a project name, btw. So mimosa new foo
. I'll get it fixed shorty.
Fixed and released as v0.11.11. Let me know if it gives you any more trouble.
As to project name I noticed an issue / inconsistency: mimosa new writes files to the current dir while mimosa new name - to a name subdir. — moved to #176
That's not an inconsistency that's just how it's works. You tell me where to put it I'll put it there you don't tell me what to put it I'll put it here. I think that's pretty straightforward. It is also documented.
On 2013-04-25 22:11:48 +0000 Eugene Mirotin notifications@github.com wrote:
As to project name I noticed an issue / inconsistency: mimosa new writes files to the current dir while mimosa new name - to a name subdir.
Reply to this email directly or view it on GitHub: https://github.com/dbashford/mimosa/issues/175#issuecomment-17042642
May be so, yet to me the difference is I'm not telling you where to put it — instead I rather provide the app name or not — and it behaves in a different way.
But works ok with 0.8
$ mimosa new
Mimosa will guide you through project creation. You will be prompted to pick the JavaScript meta-language, CSS meta-language, and micro-templating library you would like to use. For more about those choices, see http://mimosajs.com/compilers.html. You will also be prompted to pick the server and server-side view technologies you would like to use. If you pick no server, Mimosa will serve your assets for you.
For all of the technologies, if your favorite is not an option, you can add a GitHub issue and we'll look into adding it.
If you are unsure which options to pick, the ones with asterisks are Mimosa favorites. Feel free to hit the web to research your selections, Mimosa will be here when you get back.
To start, please choose your JavaScript meta-language:
1) (*) CoffeeScript - http://coffeescript.org/ 2) Iced CoffeeScript - http://maxtaco.github.com/coffee-script/ 3) LiveScript - http://gkz.github.com/LiveScript/ 4) None (Raw JavaScript) 5) TypeScript - http://www.typescriptlang.org : 1
You chose (*) CoffeeScript - http://coffeescript.org/.
Choose your CSS meta-language:
1) LESS - http://lesscss.org/ 2) None (Raw CSS) 3) SASS - http://sass-lang.com/ 4) (*) Stylus - http://learnboost.github.com/stylus/ : 3
You chose SASS - http://sass-lang.com/.
Choose your micro-templating language:
1) () Dust - https://github.com/linkedin/dustjs/ 2) Embedded JavaScript Templates (EJS) - https://github.com/visionmedia/ejs 3) Emblem - http://emblemjs.com/ 4) () Handlebars - http://handlebarsjs.com/ 5) Hogan - http://twitter.github.com/hogan.js/ 6) HTML - Just Plain HTML Snippets, no compiling 7) Jade - http://jade-lang.com/ 8) LoDash - http://lodash.com/docs#template 9) None (No Templating) 10) Underscore - http://underscorejs.org/#template : 3
You chose Emblem - http://emblemjs.com/.
Choose your server technology:
1) None - You don't need a server, or you'd like Mimosa to serve your application for you. 2) (*) Express - http://expressjs.com/ : 2
You chose (*) Express - http://expressjs.com/.
And finally choose your server view templating library:
1) (*) Jade - http://jade-lang.com/ 2) Hogan - http://twitter.github.com/hogan.js/ 3) Plain HTML 4) Embedded JavaScript Templates (EJS) - https://github.com/visionmedia/ejs 5) Handlebars - http://handlebarsjs.com/ : 1
You chose (*) Jade - http://jade-lang.com/.
Creating and setting up your project...
23:14:33 - A project name was not provided, copying skeleton into the current directory
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 NewCommand._moveDirectoryContents (/opt/local/lib/node_modules/mimosa/lib/command/new.coffee:204:28) at NewCommand._copySkeletonToCurrentDirectory (/opt/local/lib/node_modules/mimosa/lib/command/new.coffee:192:12) at NewCommand._create (/opt/local/lib/node_modules/mimosa/lib/command/new.coffee:169:132) at NewCommand._create (/opt/local/lib/node_modules/mimosa/lib/command/new.coffee:3:61) at /opt/local/lib/node_modules/mimosa/lib/command/new.coffee:136:30 at /opt/local/lib/node_modules/mimosa/node_modules/commander/index.js:1044:9 at ReadStream. (/opt/local/lib/node_modules/mimosa/node_modules/commander/index.js:830:5)
at ReadStream.g (events.js:175:14)
at ReadStream.EventEmitter.emit (events.js:95:17)
at ReadStream. (_stream_readable.js:710:14)
at ReadStream.EventEmitter.emit (events.j