From 146cdff7d9b898e21e8b719aa476ac8638ab879e Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 11 Oct 2024 01:03:21 -0700 Subject: [PATCH] fix apt not installing npm package as separate package --- archivebox/plugins_pkg/npm/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/plugins_pkg/npm/apps.py b/archivebox/plugins_pkg/npm/apps.py index 586f7c3c..0ef53c36 100644 --- a/archivebox/plugins_pkg/npm/apps.py +++ b/archivebox/plugins_pkg/npm/apps.py @@ -73,7 +73,7 @@ class NpmBinary(BaseBinary): binproviders_supported: List[InstanceOf[BinProvider]] = [apt, brew, env] overrides: BinaryOverrides = { - apt.name: {'install': lambda: None}, # already installed when nodejs is installed + apt.name: {'packages': ['npm']}, # already installed when nodejs is installed brew.name: {'install': lambda: None}, # already installed when nodejs is installed }