SyntaxError: Unexpected String, in line 1 of start.coffee when running smog
jaredpavan opened this issue · comments
# npm install smog -g
# smog
Returns:
/usr/lib/node_modules/smog/start.coffee:1
exports, require, module, __filename, __dirname) { express = require "express"
^^^^^^^^^
SyntaxError: Unexpected string
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 Object.<anonymous> (/usr/lib/node_modules/smog/bin/smog:4:1)
at Module._compile (module.js:456:26)
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 Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
This project is deprecated but this is an easy fix. The coffee-script version updated and broke this.
Ahh, k. That makes sense. Thank you.