Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6cf4973

Browse files
Reworded the caution message
1 parent0a5d70e commit6cf4973

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

‎frontend/assetic/uglifyjs.rst‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ Install UglifyJS
2121
UglifyJS is available as a `Node.js`_ module. First, you need to `install Node.js`_
2222
and then, decide the installation method: global or local.
2323

24+
..caution::
25+
26+
Some Linux distributions rename the Node.js binary from ``node`` to ``nodejs``.
27+
This may result in errors like *"/usr/bin/env: node: No such file or
28+
directory"*``. You can solve this problem with a symlink:
29+
30+
..code-block::terminal
31+
32+
$ ln -s /usr/bin/nodejs /usr/bin/node
33+
2434
Global Installation
2535
~~~~~~~~~~~~~~~~~~~
2636

@@ -38,12 +48,6 @@ Now you can execute the global ``uglifyjs`` command anywhere on your system:
3848
3949
$ uglifyjs --help
4050
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-
4751
Local Installation
4852
~~~~~~~~~~~~~~~~~~
4953

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp