From 56b7a4a47a8e599f685083f1c0b2a9cd8d19b143 Mon Sep 17 00:00:00 2001 From: Prof Gra Date: Sun, 27 Apr 2014 08:17:24 +0200 Subject: [PATCH] UglifyJS as a dependency I had to install uglify-js to be able to build jsrepl.js because of this error: Minifying tmp/engines/coffeescript-default.js failed: Command failed: /bin/sh: 1: uglifyjs: not found --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 38d2bf0..887a630 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,10 @@ A sandboxed polyglot browser REPL. Using npm : `sudo npm install -g coffee-script` +##### [UglifyJS](https://github.com/mishoo/UglifyJS) +Using npm : +`sudo npm install -g uglify-js` then `export PATH=$PATH:/usr/local/lib/node_modules/uglify-js/bin/` + #### Getting the source ##### Cloning the repository `git clone git://github.com/replit/jsrepl.git`