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

Vite build fails after installing the extension #406

Open
jdmcalee opened this issue Dec 20, 2024 · 3 comments
Open

Vite build fails after installing the extension #406

jdmcalee opened this issue Dec 20, 2024 · 3 comments

Comments

@jdmcalee
Copy link

Describe the bug
After installing the extension, Vite fails to build with the following error:

[vite] (client) error while updating dependencies:
Error: Build failed with 1 error:
node_modules/@quasar/quasar-app-extension-qmarkdown/src/boot/register.js:1:27: ERROR: Could not resolve "#q-app/wrappers"
    at failureErrorWithLog (/var/www/html/node_modules/esbuild/lib/main.js:1476:15)
    at /var/www/html/node_modules/esbuild/lib/main.js:945:25
    at /var/www/html/node_modules/esbuild/lib/main.js:1354:9
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

To Reproduce
Steps to reproduce the behavior:

  1. Open the Quasar Stackblitz: https://stackblitz.quasar.dev/
  2. After it's up and running, in the terminal pane, Ctrl-C to get back to the prompt.
  3. Run 'quasar ext add @quasar/qmarkdown'
  4. Choose Y or n at the prompt about importing markdown (error occurs either way)
  5. Run 'quasar dev'

Expected behavior
No errors, app renders properly

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox
  • Version: 133.0.3

Additional context
Add any other context about the problem here.

@f3k-freek
Copy link

f3k-freek commented Dec 20, 2024

I've got the same problem. This is my setup:
I used @quasar/[email protected] to init the project
I'm using typescript and vite.

When I run quasar build and then quasar serve dist/spa it works as expected. So it seems to be a problem with vite indeed.

@2897924003
Copy link

2897924003 commented Dec 23, 2024

I've got the same problem.
quasar - 2.17.5
@quasar/app-vite - 2.0.4
@quasar/quasar-ui-qmarkdownv2.0.1
图片
When I run quasar build and then quasar serve dist/spa it works as expected.

@sonicviz
Copy link

Webpack broken as well.
The issue I had was closed as fixed, but it was never tested because as soon as I did it was obviously not working.
#401

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants