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

(OSX) Instructions for installing could use some care #47

Closed AdrienneLove closed 10 years ago

AdrienneLove commented 10 years ago

Tried to install this on my macbook air following the instructions and getting stuck on trying to run grunt.

punchdrunk senpusha$ grunt Running "coffee:app" (coffee) task

Running "concat:punchdrunk" (concat) task File "js/punchdrunk.js" created.

Running "distil_game" task Fatal error: e is not defined

On top of this issue I find the instructions could use some extra care:

I don't have a lot of experience setting this up but I want to contribute to LOVE in a browser. Any ideas? on #irc thinks it might be linux only at this point.

Thanks.

TannerRogalsky commented 10 years ago

Hey! The problem is that that stackoverflow answer isn't very good and only gives you instructions on how to install the Lua interpreter and not the Lua compiler. You have a few choices, either copy 'luac' from the build folder into your path or use Homebrew to install node and Lua (http://brew.sh/). I recommend the latter because then you won't need to use sudo.