8000 Update uglifyjs.rst · symfony/symfony-docs@0a5d70e · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a5d70e

Browse files
authored
Update uglifyjs.rst
add quick help for common error. Source : nodejs/node-v0.x-archive#3911 (comment)
1 parent 821425e commit 0a5d70e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/assetic/uglifyjs.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ Now you can execute the global ``uglifyjs`` command anywhere on your system:
3838
3939
$ uglifyjs --help
4040
41+
If you get the message ``/usr/bin/env: node: No such file or directory``, you just need to symlink it like so
42+
43+
.. code-block:: terminal
44+
45+
$ ln -s /usr/bin/nodejs /usr/bin/node
46+
4147
Local Installation
4248
~~~~~~~~~~~~~~~~~~
4349

0 commit comments

Comments
 (0)
0