nyanya
commited on
Commit
•
b5bebb1
1
Parent(s):
d823bd4
fix npm19
Browse files- on_startup.sh +1 -1
on_startup.sh
CHANGED
@@ -4,5 +4,5 @@
|
|
4 |
# git clone https://github.com/huggingface/transformers.git
|
5 |
# cd transformers && pip install -e ".[dev]"
|
6 |
conda install -c conda-forge gh
|
7 |
-
export NVM_DIR="/app/.nvm" ; curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash && . "$NVM_DIR/nvm.sh" && nvm install 16 && nvm alias default 16
|
8 |
. "$NVM_DIR/nvm.sh" && node -v && which npm
|
|
|
4 |
# git clone https://github.com/huggingface/transformers.git
|
5 |
# cd transformers && pip install -e ".[dev]"
|
6 |
conda install -c conda-forge gh
|
7 |
+
export NVM_DIR="/app/.nvm" ; curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash && . "$NVM_DIR/nvm.sh" && nvm install 16 && nvm alias default 16 && chown -R user:user /app/.nvm
|
8 |
. "$NVM_DIR/nvm.sh" && node -v && which npm
|