Palmr installation Error #1739

Closed
opened 2026-02-05 02:06:46 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @tjarkbre on GitHub (Oct 7, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Palmr

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/palmr.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

8.3.0/c1689ccb1065a83b

📝 Provide a clear and concise description of the issue.

Multiple times tried to install Palmr. Tried with Advanced and Default Settings. Always getting the same error.

🔄 Steps to reproduce the issue.

Run the script as normal.

Paste the full error output (if available).

> palmr-web@3.2.3-beta build /opt/palmr/apps/web
> next build

   ▲ Next.js 15.3.4
   - Environments: .env

   Creating an optimized production build ...
Failed to compile.

HookWebpackError: _webpack.WebpackError is not a constructor
    at makeWebpackError (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/webpack/bundle5.js:29:315788)
    at /opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/webpack/bundle5.js:29:106487
    at eval (eval at create (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/webpack/bundle5.js:14:9224), <anonymous>:82:1)
-- inner error --
TypeError: _webpack.WebpackError is not a constructor
    at buildError (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js:24:16)
    at /opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js:127:57
    at async Span.traceAsyncFn (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/trace/trace.js:157:20)
caused by plugins in Compilation.hooks.processAssets
TypeError: _webpack.WebpackError is not a constructor
    at buildError (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js:24:16)
    at /opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js:127:57
    at async Span.traceAsyncFn (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/trace/trace.js:157:20)


> Build failed because of webpack errors
 ELIFECYCLE  Command failed with exit code 1.

[ERROR] in line 48: exit code 0: while executing command $STD pnpm build

[ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"

🖼️ Additional context (optional).

No response

Originally created by @tjarkbre on GitHub (Oct 7, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Palmr ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/palmr.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? 8.3.0/c1689ccb1065a83b ### 📝 Provide a clear and concise description of the issue. Multiple times tried to install Palmr. Tried with Advanced and Default Settings. Always getting the same error. ### 🔄 Steps to reproduce the issue. Run the script as normal. ### ❌ Paste the full error output (if available). ``` > palmr-web@3.2.3-beta build /opt/palmr/apps/web > next build ▲ Next.js 15.3.4 - Environments: .env Creating an optimized production build ... Failed to compile. HookWebpackError: _webpack.WebpackError is not a constructor at makeWebpackError (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/webpack/bundle5.js:29:315788) at /opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/webpack/bundle5.js:29:106487 at eval (eval at create (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/webpack/bundle5.js:14:9224), <anonymous>:82:1) -- inner error -- TypeError: _webpack.WebpackError is not a constructor at buildError (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js:24:16) at /opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js:127:57 at async Span.traceAsyncFn (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/trace/trace.js:157:20) caused by plugins in Compilation.hooks.processAssets TypeError: _webpack.WebpackError is not a constructor at buildError (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js:24:16) at /opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js:127:57 at async Span.traceAsyncFn (/opt/palmr/apps/web/node_modules/.pnpm/next@15.3.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/trace/trace.js:157:20) > Build failed because of webpack errors  ELIFECYCLE  Command failed with exit code 1. [ERROR] in line 48: exit code 0: while executing command $STD pnpm build [ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)" ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 02:06:46 +03:00
Author
Owner

@MickLesk commented on GitHub (Oct 7, 2025):

Upstream Error, the packages conflicted with pnpm and nextjs

-> Report it in there repo please

@MickLesk commented on GitHub (Oct 7, 2025): Upstream Error, the packages conflicted with pnpm and nextjs -> Report it in there repo please
Author
Owner

@tremor021 commented on GitHub (Oct 7, 2025):

@MickLesk i think bad PNPM is the reason it fails. Lets wait for #8173 to merge

@tremor021 commented on GitHub (Oct 7, 2025): @MickLesk i think bad PNPM is the reason it fails. Lets wait for #8173 to merge
Author
Owner

@tremor021 commented on GitHub (Oct 7, 2025):

Also this is weird, even though my PR fixes a valid bug, i tried verbose install just in case, without a fix:

Image

it works fine here...

@tremor021 commented on GitHub (Oct 7, 2025): Also this is weird, even though my PR fixes a valid bug, i tried verbose install just in case, without a fix: <img width="731" height="639" alt="Image" src="https://github.com/user-attachments/assets/66a4285c-885a-4334-a207-12d0c88eff72" /> it works fine here...
Author
Owner

@tremor021 commented on GitHub (Oct 7, 2025):

Image
@tremor021 commented on GitHub (Oct 7, 2025): <img width="803" height="657" alt="Image" src="https://github.com/user-attachments/assets/fb9effb0-2d09-4b10-9938-deb48495cc86" />
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 7, 2025):

fix merged.

@michelroegl-brunner commented on GitHub (Oct 7, 2025): fix merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1739