1602 / compound

MVC framework. Built on Node.JS. Works on server and browser.
http://compoundjs.com
1.6k stars 182 forks source link

SyntaxError: Unexpected token > #642

Open venkat502 opened 10 years ago

venkat502 commented 10 years ago

Got error when upgrading to latest version from 1.1.13-1

/usr/local/bin/node --debug server.js debugger listening on port 5858

xxxxxxxx/xxxx/xxxx/config/environment.coffee:1 orts, require, module, filename, dirname) { module.exports = (compound) -> ^ WARNING: /xxxxxxxx/xxxx/xxxx/config/environment.coffee should export function(compound) but given undefined SyntaxError: Unexpected token > at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at requireFun (/xxxxxxxx/xxxx/xxxx/node_modules/compound/lib/compound.js:253:15) at requireIfExists (/xxxxxxxx/xxxx/xxxx/node_modules/compound/lib/compound.js:243:9) at CompoundServer.configureApp as configure at CompoundServer.initCompound (/xxxxxxxx/xxxx/xxxx/node_modules/compound/lib/compound.js:118:18) at CompoundServer.initCompoundServer as init at /xxxxxxxx/xxxx/xxxx/node_modules/compound/lib/compound.js:84:22 at process._tickCallback (node.js:419:13) at Function.Module.runMain (module.js:499:11) at startup (node.js:119:16) at node.js:906:3