summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorMartin Bark <martin@barkynet.com>2015-10-28 15:59:53 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-02 23:12:02 +0100
commit1325da4a28f0c701c09b9f090df706838540948d (patch)
tree852db4884fe4bd8d2fe595214e27e5b13d5a7e94 /docs/manual
parentc2dd6cd2575e7767a502c2ae4f15785bcc088214 (diff)
downloadbuildroot-1325da4a28f0c701c09b9f090df706838540948d.tar.gz
buildroot-1325da4a28f0c701c09b9f090df706838540948d.zip
package/nodejs: Fixed npm global install
Set npm_config_prefix to $(TARGET_DIR)/usr so that npm -g will correctly install global modules to $(TARGET_DIR)/usr/lib/node_modules. By using npm -g to install global modules npm will now automatically create the symlinks to executables under $(TARGET_DIR)/usr/bin. See https://docs.npmjs.com/misc/config#global and https://docs.npmjs.com/files/folders for information on how the prefix setting is used by global installs. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud