Spaces:
Runtime error
Runtime error
ronvolutional
commited on
Commit
·
ed2b231
1
Parent(s):
6ac4cca
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import subprocess
|
2 |
|
|
|
3 |
subprocess.run("curl -fsSL https://deb.nodesource.com/setup_18.x", shell=True)
|
|
|
|
|
4 |
subprocess.run("cat /etc/os-release", shell=True)
|
5 |
-
subprocess.run("node --version", shell=True)
|
6 |
-
subprocess.run("
|
|
|
|
1 |
import subprocess
|
2 |
|
3 |
+
subprocess.run("curl --version", shell=True)
|
4 |
subprocess.run("curl -fsSL https://deb.nodesource.com/setup_18.x", shell=True)
|
5 |
+
subprocess.run("sudo apt install nodejs", shell=True)
|
6 |
+
# subprocess.run("sudo apt install npm", shell=True)
|
7 |
subprocess.run("cat /etc/os-release", shell=True)
|
8 |
+
subprocess.run("echo "node version:" && node --version", shell=True)
|
9 |
+
subprocess.run("echo "npm version:" && npm --version", shell=True)
|
10 |
+
subprocess.run("pwd && ls", shell=True)
|