Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to build a custom Zepto package

Tags:

zepto

I've been trying to do a custom build of Zepto (I do have coffee installed globally already), with the following commands:

git clone https://github.com/madrobby/zepto.git
cd zepto/
npm install
MODULES="polyfill zepto event ajax fx touch" ./make dist

but keep running into the problem of things hanging immediately after

> [email protected] dist /Users/johnny/Development/zepto
> coffee make dist

With the lack of verbose build commentary from coffee, I can't tell if anything's erroring, but I can't imagine that building Zepto would take more than a few minutes (and certainly not over an hour). Even their default dist build (without customizations) hangs at the same place, and happens both on my Ubuntu and Mac boxes.

like image 268
Johnny Avatar asked Nov 12 '22 03:11

Johnny


1 Answers

As per https://github.com/madrobby/zepto/issues/782#issuecomment-20852321 if you install coffeescript > 1.5.0 this problem should go away. You can get the latest by running:

sudo npm install -g coffee-script

I was having the same problem and bumping my version of coffeescript fixed it (i was on 1.4.0)

like image 89
ebrody Avatar answered Jan 04 '23 03:01

ebrody