Andreas Hartmann
unread,Oct 14, 2012, 9:01:33 AM10/14/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to roy...@googlegroups.com
Hi Brian, hi all,
first of all, thanks for your great work!
I checked out Roy from github, but when I'm trying to compile a Roy file to JS, I get the following error:
roy -r examples/helloworld.roy
compile.js:817
var sourceMap = new SourceMapGenerator({file: path.basename(outputPath
^
TypeError: undefined is not a function
at main (compile.js:817:25)
at Array.forEach (native)
at Function._.each._.forEach (/Volumes/Data/src/roy/roy/node_modules/underscore/underscore.js:74:11)
at Object.main (/Volumes/Data/src/roy/roy/src/compile.js:803:7)
at Object.<anonymous> (/Volumes/Data/src/roy/roy/roy:2:26)
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)
It looks like the source-map module is not properly loaded.
Thanks a lot in advance for any hints!
-- Andreas