add missing imports/packages for NodeJS setup
This commit is contained in:
parent
2e9495cae7
commit
c7d893886c
1 changed files with 2 additions and 1 deletions
|
@ -1,11 +1,12 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
from src.log import log
|
from src.log import log
|
||||||
|
from os import system
|
||||||
|
|
||||||
desc = "Javascript everywhere!"
|
desc = "Javascript everywhere!"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
paru_install("nodejs-lts-hydrogen")
|
paru_install(["nodejs-lts-hydrogen", "npm"])
|
||||||
|
|
||||||
log("Installing npm")
|
log("Installing npm")
|
||||||
system("npm install --global npm")
|
system("npm install --global npm")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue