mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 20:15:54 +00:00
fix yarn install
This commit is contained in:
@@ -41,10 +41,11 @@ function update_script() {
|
|||||||
rm -rf /opt/${APP}
|
rm -rf /opt/${APP}
|
||||||
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
|
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
|
||||||
cd /opt/"${APPLICATION}"/backend/src
|
cd /opt/"${APPLICATION}"/backend/src
|
||||||
pip install -r requirements.txt
|
$STD pip install -r requirements.txt
|
||||||
cd ../../frontend/src
|
cd ../../frontend/src
|
||||||
npm install
|
$STD npm install
|
||||||
yarn build
|
$STD npm install -g yarn
|
||||||
|
$STD yarn build
|
||||||
msg_ok "Updated $APP to v${RELEASE}"
|
msg_ok "Updated $APP to v${RELEASE}"
|
||||||
|
|
||||||
msg_info "Starting $APP"
|
msg_info "Starting $APP"
|
||||||
|
|||||||
@@ -30,10 +30,11 @@ msg_ok "Setup NodeJS"
|
|||||||
msg_info "Setup ${APPLICATION}"
|
msg_info "Setup ${APPLICATION}"
|
||||||
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
|
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
|
||||||
cd /opt/"${APPLICATION}"/backend/src
|
cd /opt/"${APPLICATION}"/backend/src
|
||||||
pip install -r requirements.txt
|
$STD pip install -r requirements.txt
|
||||||
cd ../../frontend/src
|
cd ../../frontend/src
|
||||||
npm install
|
$STD npm install
|
||||||
yarn build
|
$STD npm install -g yarn
|
||||||
|
$STD yarn build
|
||||||
msg_ok "Setup ${APPLICATION}"
|
msg_ok "Setup ${APPLICATION}"
|
||||||
|
|
||||||
# Creating Service (if needed)
|
# Creating Service (if needed)
|
||||||
|
|||||||
Reference in New Issue
Block a user