isaacs/npm — Issue #1994: Cannot run UglifyJS standalone after installing globally in Windows
Author: jcreamer898
Created: 2012-01-05 16:25:13+00:00
State: open

I am trying to run UglifyJS standalone, and here are the steps I have taken.

1. Open Command Prompt
2. Run npm -g install uglify-js
3. Run uglifyjs -o app.min.js app.js

The following error is recieved...

C:\Users\jcreamer>"C:\Users\jcreamer\AppData\Roaming\npm\\.\node_modules\uglify-js\bin\uglifyjs"
'"C:\Users\jcreamer\AppData\Roaming\npm\\.\node_modules\uglify-js\bin\uglifyjs"' is not recognized as an internal or external comm
and,
operable program or batch file.