mutewinter / tapas-with-ember

🚫 UNMAINTAINED: A Brunch skeleton for rapid Ember development. Including Ember installation scripts, environment-specific JS builds, generators, and Ember.vim support.
Other
127 stars 19 forks source link

Error when running cake server #22

Closed mikeroosa closed 10 years ago

mikeroosa commented 10 years ago

Just installed tapas with the instructions provided and when I run cake server, I get the following error. I am running on Windows 7 if that makes a difference.

c:\Code\tapas>cake server

events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:988:11) at Process.ChildProcess._handle.onexit (child_process.js:779:34)

c:\Code\tapas>

mutewinter commented 10 years ago

Windows is probably the problem. I haven't tried Tapas there yet. I'm betting it's my use of spawn in the Cakefile.

You could work around this problem by running BRUNCH_ENV=development ./node_modules/.bin/brunch w -s instead of cake server.

mikeroosa commented 10 years ago

Your workaround does in fact work.

mutewinter commented 10 years ago

Hell to the yeah.

When it comes time to cake build you'll want to run BRUNCH_ENV=production ./node_modules/.bin/brunch b -P.

Oh and before that command should have been BRUNCH_ENV=development ./node_modules/.bin/brunch w -s.