Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

UglifyJS as a dependency #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Grahack
Copy link

@Grahack Grahack commented Apr 27, 2014

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

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
@@ -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/`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think either sudo or the export is necessary. installing with -g should be sufficient

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sudo, I just mimicked the line before. For the export, it may not be needed in other systems indeed. You're the boss, boss.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants