Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaged bundle zip file is missing from bex build #17729

Closed
evandor opened this issue Jan 1, 2025 · 3 comments · Fixed by #17731
Closed

Packaged bundle zip file is missing from bex build #17729

evandor opened this issue Jan 1, 2025 · 3 comments · Fixed by #17731
Assignees
Labels
area/cli bug/2-confirmed We have reproduce the problem and confirmed that this is a bug. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@evandor
Copy link
Contributor

evandor commented Jan 1, 2025

What happened?

When running "quasar build -m bex -T chrome", no Packaged.zip bundle is created inside the dist/chrome-bex folder

What did you expect to happen?

App • WAIT • Bundling in progress...
App • DONE • Bundle has been generated at: /home/projects/quasarframework-stackblitz-templates-ure3axqh/dist/bex-chrome/Packaged.stackblitz-quasar-app-vite-v2.zip • 2ms

The app claims that the file has been created, but the file is missing. There is no obvious error message indicating the reason why that happened.

Reproduction URL

https://stackblitz.com/edit/quasarframework-stackblitz-templates-ovqjazzk?file=package.json&title=Quasar%20Framework%20-%20app-vite%20v2

How to reproduce?

  1. Open the reproduction link (it is a default skeleton app-vite setup, with "quasar mode add bex" and a little change in package.json (quasar build -m bex -T chrome))
  2. Run "npm run build"
  3. the dist folder is created (with bex-chrome)
  4. There is no bundled zip file (app-vite-v2.zip) inside the bex-chrome folder (or anywhere in the dist folder)

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)

Platforms/Browsers

Firefox, Chrome, Microsoft Edge

Quasar info output

Operating System - Linux(5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36) - linux/x64
NodeJs - 18.20.3

Global packages
  NPM - 10.2.3
  yarn - 1.22.19
  pnpm - 8.15.6
  bun - Not installed
  @quasar/cli - undefined
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages
  quasar - 2.17.5 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 2.0.4 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.16.15 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.5.13 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.5.0
  pinia - Not installed
  vite - 6.0.6 -- Native-ESM powered web dev build tool
  vite-plugin-checker - Not installed
  eslint - 9.17.0 -- An AST-based pattern checker for JavaScript.
  esbuild - 0.24.0 -- The cross-platform WebAssembly binary for esbuild, a JavaScript bundler.
  typescript - Not installed
  workbox-build - Not installed
  register-service-worker - Not installed
  electron - Not installed
  @electron/packager - Not installed
  electron-builder - Not installed
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Quasar App Extensions
  *None installed*

Networking
  Host - quasarframeworkstackblitztempl-2l3t
  en0 - 192.168.1.104

Relevant log output

App •  WAIT  • Bundling in progress...
 App •  DONE  • Bundle has been generated at: /home/projects/quasarframework-stackblitz-templates-ure3axqh/dist/bex-chrome/Packaged.stackblitz-quasar-app-vite-v2.zip • 2ms

 Build succeeded

 Build mode............. bex
 Pkg quasar............. v2.17.5
 Pkg @quasar/app-vite... v2.0.4
 Pkg vite............... v6.0.6
 Debugging.............. no
 Publishing............. no
 Browser target......... es2022|firefox115|chrome115|safari14
 =======================
 Output folder.......... /home/projects/quasarframework-stackblitz-templates-ure3axqh/dist/bex-chrome

Additional context

No response

@evandor evandor added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Jan 1, 2025
@github-actions github-actions bot added area/cli bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite labels Jan 1, 2025
@yusufkandemir yusufkandemir added bug/2-confirmed We have reproduce the problem and confirmed that this is a bug. and removed bug/1-repro-available A reproduction is available and needs to be confirmed. labels Jan 2, 2025
@yusufkandemir yusufkandemir self-assigned this Jan 2, 2025
@rstoenescu
Copy link
Member

Fix will be available in q/app-vite 2.0.5 & q/app-webpack 4.0.5

@yusufkandemir
Copy link
Member

@rstoenescu I've assigned it to myself and worked on it, before you pushed a fix. As per archiverjs/node-archiver#772, it's not wise to use await archive.finalize()

@evandor
Copy link
Contributor Author

evandor commented Jan 4, 2025

Just wanted to confirm that the fix is working, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli bug/2-confirmed We have reproduce the problem and confirmed that this is a bug. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants