TannerRogalsky / punchdrunk

An attempt to replicate the LÖVE API in the browser using moonshine.
http://tannerrogalsky.com/punchdrunk/
MIT License
81 stars 10 forks source link

Getting error on "grunt compile" #11

Closed Bambofy closed 10 years ago

Bambofy commented 10 years ago

This is what it logged.

Richards-MacBook-Pro:punchdrunk richardbamford$ sudo grunt compile Running "coffee:files" (coffee) task

Running "shell:distil" (shell) task

/Users/richardbamford/Documents/Programming/Github/punchdrunk/node_modules/moonshine/bin/commands/distil.js:155 if (errPart[1] != 'luac') throw e; ^ ReferenceError: e is not defined at /Users/richardbamford/Documents/Programming/Github/punchdrunk/node_modules/moonshine/bin/commands/distil.js:155:36 at ChildProcess.exithandler (child_process.js:641:7) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:743:16) at Socket. (child_process.js:956:11) at Socket.EventEmitter.emit (events.js:95:17) at Pipe.close (net.js:465:12) Warning: Command failed: /Users/richardbamford/Documents/Programming/Github/punchdrunk/node_modules/moonshine/bin/commands/distil.js:155 if (errPart[1] != 'luac') throw e; ^ ReferenceError: e is not defined at /Users/richardbamford/Documents/Programming/Github/punchdrunk/node_modules/moonshine/bin/commands/distil.js:155:36 at ChildProcess.exithandler (child_process.js:641:7) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:743:16) at Socket. (child_process.js:956:11) at Socket.EventEmitter.emit (events.js:95:17) at Pipe.close (net.js:465:12) Use --force to continue.

Aborted due to warnings.

Cheers!

TannerRogalsky commented 10 years ago

Hey! Looks like you don't have Lua installed. That's one of the Moonshine prerequisites.

Thanks for finding that. I'll add it to the readme.

TannerRogalsky commented 10 years ago

Resolved here: 39c37403a13ce09b786a2e35015c5934b46c358a