mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-02 04:02:13 +02:00
FlowiseAI: align install to use pnpm instead of npm to fix missing dependencies (#15530)
This commit is contained in:
committed by
GitHub
parent
7493a7f003
commit
f156e761e0
@@ -20,16 +20,12 @@ $STD apt install -y \
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PYTHON_VERSION="3.11" setup_uv
|
||||
NODE_VERSION="22" setup_nodejs #needed because better-sql break
|
||||
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs
|
||||
|
||||
msg_info "Installing FlowiseAI (Patience)"
|
||||
PYTHON_BIN="$(uv python find 3.11)"
|
||||
export npm_config_python="$PYTHON_BIN"
|
||||
$STD npm install -g flowise \
|
||||
@opentelemetry/exporter-trace-otlp-grpc \
|
||||
@opentelemetry/exporter-trace-otlp-proto \
|
||||
@opentelemetry/sdk-trace-node \
|
||||
langchainhub
|
||||
$STD pnpm add -g flowise
|
||||
mkdir -p /opt/flowiseai
|
||||
curl -fsSL "https://raw.githubusercontent.com/FlowiseAI/Flowise/main/packages/server/.env.example" -o "/opt/flowiseai/.env"
|
||||
msg_ok "Installed FlowiseAI"
|
||||
|
||||
Reference in New Issue
Block a user