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

Quasar+vite stuck on building the app with blitzae #160

Open
nurielmeni opened this issue Jul 1, 2023 · 8 comments
Open

Quasar+vite stuck on building the app with blitzae #160

nurielmeni opened this issue Jul 1, 2023 · 8 comments

Comments

@nurielmeni
Copy link

Probably ts error that causes the issue:
Cannot find module 'blitzar' or its corresponding type declarations ts(2307).

On dev all works fine, but the build process stuck.

@mesqueeb
Copy link
Member

mesqueeb commented Jul 1, 2023

🤔 can you share a reproduction? Never seen that error before.

@nurielmeni
Copy link
Author

nurielmeni commented Jul 1, 2023

I have just created an empty quasar project, with npm init quasar, vite cli, typescript, eslint.
replaced the content of ExampleComponent.vue with:
ExampleComponent.vue.zip

Updated:
quasar.config.js -> framework -> components: ['QInput', 'QSlider', 'QSelect', 'QOptionGroup', 'QToggle']

When runing in dev: "quasar dev" all works fine
When trying to build for production: "Quasar build" the process stuck

  • App • WAIT • Compiling of SPA UI with Vite in progress...

when using (TypeScript): <script setup lang="ts"> It shows squiggly line with the message: Cannot find module 'blitzar' or its corresponding type declarations.ts(2307)

Please advice :)

P.S: I had a previous version of the app where all was working fine, something probably changed.

@nurielmeni
Copy link
Author

🤔 can you share a reproduction? Never seen that error before.

Hi,
Did you manage to look at the issue? It is very peculiar that in dev its running file and on build it halts.

@abbjetmus
Copy link

abbjetmus commented Nov 11, 2023

The same is happening for me registering BlitzForm as a global component I can't build the project any more.

Just add this in a Quasar boot file and it should stuck without any messages:

import { boot } from 'quasar/wrappers'
import { BlitzForm } from 'blitzar'

export default boot(({ app }) => {
  app.component('BlitzForm', BlitzForm)
})

@nurielmeni did you find a workaround for this?

@mgineer85
Copy link

Same for me after changing from webpack to vite to build. Any idea how to resolve?

@linven
Copy link

linven commented Dec 5, 2023

Same for me too.
yarn create quasar, vite cli, typescript, eslint.

@mgineer85
Copy link

Anybody aware of a maintained alternative?

@ahelal
Copy link

ahelal commented Jul 15, 2024

I am also experiencing the same issue. And works in dev.
@mesqueeb do you need extra info ?

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

6 participants