console.log "Hello world";
Do you run cofeescript with
According to answers to this question it is impossible. You have to either compile it first and then run, i.e.
coffee -c app.coffee node app.js
or use the coffee to run it for you, i.e.
Nevertheles, I can't see how the wrapper function generated by coffee could "make the app did not run".