1 Replies Last post: Mar 11, 2013 12:26 PM by Fedor Korotkov  
insnet insnet Newbie 2 posts since
Mar 9, 2013
Currently Being Moderated

Mar 9, 2013 7:31 PM

Error creating coffeescript source-maps

The generated soure-map looks like this. What's wrong?





            throw new Error("unrecognized option: " + arg);


Error: unrecognized option: --source-map

    at OptionParser.exports.OptionParser.OptionParser.parse (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/optparse.js:50:19)

    at parseOptions (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:465:29)

    at Object.exports.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:53:5)

    at Object.<anonymous> (/usr/local/lib/node_modules/coffee-script/bin/coffee:7:41)

    at Module._compile (module.js:449:26)

    at Object.Module._extensions..js (module.js:467:10)

    at Module.load (module.js:356:32)

    at Function.Module._load (module.js:312:12)

    at Module.runMain (module.js:492:10)

    at process.startup.processNextTick.process._tickCallback (node.js:244:9)




Fedor Korotkov Newbie 74 posts since
Feb 23, 2012
Currently Being Moderated
Mar 11, 2013 12:26 PM in response to: insnet insnet
Re: Error creating coffeescript source-maps

That file watcher uses CoffeeScript Redux compiler(check description).


If you are using CoffeeScript 1.6 check this screencast http://www.youtube.com/watch?v=Sl1Uk3zT5Fg

More Like This

  • Retrieving data ...