Compare commits

..

2 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
a7390bc362 Remove redundant python3 from dependencies 2026-03-12 08:45:03 +01:00
CanbiZ (MickLesk)
3c9881f21a fix(n8n): add build-essential to update dependencies
node-gyp requires make/gcc (from build-essential) and python3 to compile
native modules like isolated-vm during npm update. These were present in
the install script but missing from the update path.

Closes #12786
2026-03-12 08:36:06 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ function update_script() {
exit
fi
ensure_dependencies graphicsmagick
ensure_dependencies build-essential python3-setuptools graphicsmagick
NODE_VERSION="24" setup_nodejs
msg_info "Updating n8n"

View File

@@ -4653,8 +4653,8 @@ EOF
# Environment (PATH + LD_LIBRARY_PATH)
if [[ -d /opt/rocm ]]; then
cat <<'ENVEOF' >/etc/profile.d/rocm.sh
export PATH="$PATH:/opt/rocm/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/rocm/lib"
export PATH="\$PATH:/opt/rocm/bin"
export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH:+\$LD_LIBRARY_PATH:}/opt/rocm/lib"
ENVEOF
chmod +x /etc/profile.d/rocm.sh
# Also make available for current session / systemd services