fix apt not installing npm package as separate package

This commit is contained in:
Nick Sweeting 2024-10-11 01:03:21 -07:00
parent 6e7071bd19
commit 146cdff7d9
No known key found for this signature in database

View file

@ -73,7 +73,7 @@ class NpmBinary(BaseBinary):
binproviders_supported: List[InstanceOf[BinProvider]] = [apt, brew, env] binproviders_supported: List[InstanceOf[BinProvider]] = [apt, brew, env]
overrides: BinaryOverrides = { 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 brew.name: {'install': lambda: None}, # already installed when nodejs is installed
} }