diff --git a/frontend/assetic/uglifyjs.rst b/frontend/assetic/uglifyjs.rst index 4da6c61e005..7412ed4b148 100644 --- a/frontend/assetic/uglifyjs.rst +++ b/frontend/assetic/uglifyjs.rst @@ -21,6 +21,16 @@ Install UglifyJS UglifyJS is available as a `Node.js`_ module. First, you need to `install Node.js`_ and then, decide the installation method: global or local. +.. caution:: + + Some Linux distributions rename the Node.js binary from ``node`` to ``nodejs``. + This may result in errors like *"/usr/bin/env: node: No such file or + directory"*``. You can solve this problem with a symlink: + + .. code-block:: terminal + + $ ln -s /usr/bin/nodejs /usr/bin/node + Global Installation ~~~~~~~~~~~~~~~~~~~