Infos:
- Used Zammad version: 6.2.0-1711349647.bc0c70d0.jammy
- Used Zammad installation type: package
- Operating system: Ubuntu 22.04
- Browser + version: Firefox
Expected behavior:
After editing the login page and compiling it, to save the edits
*
Actual behavior:
Error during build:
error during build:
Error: Dynamic require of “workbox-build” is not supported
at file:///opt/zammad/node_modules/vite-plugin-pwa/dist/index.js:6:9
at loadWorkboxBuild (file:///opt/zammad/node_modules/vite-plugin-pwa/dist/index.js:271:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateInjectManifest (file:///opt/zammad/node_modules/vite-plugin-pwa/dist/index.js:365:30)
at async _generateSW (file:///opt/zammad/node_modules/vite-plugin-pwa/dist/index.js:485:5)
at async Object.handler (file:///opt/zammad/node_modules/vite-plugin-pwa/dist/index.js:627:11)
at async PluginDriver.hookParallel (file:///opt/zammad/node_modules/rollup/dist/es/shared/node-entry.js:25466:17)
at async Object.close (file:///opt/zammad/node_modules/rollup/dist/es/shared/node-entry.js:26726:13)
at async build (file:///opt/zammad/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:48095:13)
at async CAC.<anonymous> (file:///opt/zammad/node_modules/vite/dist/node/cli.js:842:9)
pid 13661 exit 1
Build with Vite failed!
Steps to reproduce the behavior:
Open login.jst.eco → edit something → run : sudo zammad run rake assets:precompile