I\'m trying to define some Node routes using Coffeescript in the following way:
My app.js file:
/** * Module dependencies. */ require(\'coffee-scr
In CoffeeScript 1.7, the line require('coffee-script') no longer allows you to require CoffeeScript files. Instead, you need to either:
require('coffee-script')
require('coffee-script/register')
or
require('coffee-script').register()
See the documentation.