You should run
sudo apt-get install nodejsto install NodeJS in Ubuntu or
brew install nodejsif you are in OSX. Uglifier is a JS wrapper and it needs a JS runtime running or an JS interpreter. I would choose to install NodeJS.
记录遇到问题的点点滴滴。
You should run
sudo apt-get install nodejsto install NodeJS in Ubuntu or
brew install nodejsif you are in OSX. Uglifier is a JS wrapper and it needs a JS runtime running or an JS interpreter. I would choose to install NodeJS.