From 27185b4a665dd368decf5d5c6f2893e46d232dc2 Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Sat, 14 Oct 2023 18:36:09 +0200 Subject: [PATCH] added prefix=/usr/local to /usr/etc/npmrc to make sure node modules are always installed in /usr/local if npm is used on command-line. --- buildroot-external/overlay/base/usr/etc/npmrc | 1 + 1 file changed, 1 insertion(+) diff --git a/buildroot-external/overlay/base/usr/etc/npmrc b/buildroot-external/overlay/base/usr/etc/npmrc index 99ef398958..b8ebe2514d 100644 --- a/buildroot-external/overlay/base/usr/etc/npmrc +++ b/buildroot-external/overlay/base/usr/etc/npmrc @@ -1 +1,2 @@ +prefix=/usr/local cache=/tmp/npm-cache