util.error: Use console.error instead
Hi, i've just installed uglifyjs in my project
First, Great great work guys ! Second, i have an annoying warning every uglifyjs log (util.error: Use console.error instead)
ex: util.error: Use console.error instead WARN: Symbol MINIMUM_SCORE is declared but not referenced [src/bootstrap.js:34,8] util.error: Use console.error instead WARN: Symbol parentBox is declared but not referenced [src/bootstrap.js:227,12]
Did i do something wrong ?
I use
- uglifyjs: 2.4.10
- npm: 2.8.4
- node: 0.12.7
Thanks !
Please upgrade uglifyjs, we're currently at v2.4.24 and these problems should at least be solved for the biggest part. Feel free to report bugs if these bugs do happen on UglifyJS v2.4.24.
2.4.10 is quite old already. If you upgrade to the latest version this problem should be resolved.
Strange, mine won't upgrade from npm. It says 2.4.10 is the latest.
npm ERR! notarget No compatible version found: uglifyjs@^2.4.24
npm ERR! notarget Valid install targets:
npm ERR! notarget 2.4.10
Use uglify-js
Got it, is the cli command still uglifyjs?
Yes. Would be better if this project acquired the uglifyjs npm name.