From fbc6cc8ed512e0f11ae0064babd4ba3a64c4eb55 Mon Sep 17 00:00:00 2001 From: Erzak Date: Tue, 17 Dec 2013 14:24:47 -0500 Subject: [PATCH] Update build.js Unable to build On Windows 7, if user have a space in his profile name. Ex : C:\Users\my name\AppData\Roaming\npm\node_modules\ember-tools The build throw an error because the command path is broken. I have simply added double quote around the path so the command work properly. --- src/commands/build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/build.js b/src/commands/build.js index ae082b5..71724e7 100644 --- a/src/commands/build.js +++ b/src/commands/build.js @@ -87,7 +87,8 @@ function build(env, cb) { var outFile = (env.outFile || getAssetPath('application.js')); var outDir = path.dirname(outFile); var command = [ - 'node', __dirname + '/../../node_modules/browserify/bin/cmd', + 'node', + '"'+__dirname + '/../../node_modules/browserify/bin/cmd"', '--noparse='+root+'/vendor/ember.js', '--noparse='+root+'/vendor/jquery.js', '--noparse='+root+'/vendor/ember-data.js',