Fix npm
This commit is contained in:
parent
cd5c5aa65f
commit
7544d43dbc
@ -3,4 +3,8 @@ class Npm:
|
|||||||
self.npm_install = install
|
self.npm_install = install
|
||||||
|
|
||||||
def build(self, script):
|
def build(self, script):
|
||||||
script.append(f'cd {self.npm_install} && npm install')
|
script.run('sudo npm update -g npm')
|
||||||
|
script.run(f'''
|
||||||
|
cd {self.npm_install}
|
||||||
|
npm install
|
||||||
|
''')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user