mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-21 02:15:10 -04:00
fix archivebox install not using LIB_DIR
This commit is contained in:
parent
6740202d78
commit
ee548eb16e
2 changed files with 5 additions and 1 deletions
|
@ -29,10 +29,10 @@ class LibNpmBinProvider(NpmProvider):
|
|||
LIB_DIR = abx.pm.hook.get_LIB_DIR()
|
||||
self.npm_prefix = LIB_DIR / 'npm'
|
||||
self.PATH = f'{LIB_DIR / "npm" / "node_modules" / ".bin"}:{NEW_NODE_BIN_PATH}:{OLD_NODE_BIN_PATH}'
|
||||
|
||||
super().setup()
|
||||
|
||||
|
||||
SYS_NPM_BINPROVIDER = SystemNpmBinProvider()
|
||||
LIB_NPM_BINPROVIDER = LibNpmBinProvider()
|
||||
LIB_NPM_BINPROVIDER.setup()
|
||||
npm = LIB_NPM_BINPROVIDER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue