Skip to content

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

Open

Description

@nurielmeni

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.

Activity

  1. mesqueeb commented on Jul 1, 2023

    @mesqueeb
    Member

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

  2. nurielmeni commented on Jul 1, 2023

    @nurielmeni
    Author

    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.

  3. nurielmeni commented on Jul 3, 2023

    @nurielmeni
    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.

  4. abbjetmus commented on Nov 11, 2023

    @abbjetmus

    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?

  5. mgineer85 commented on Nov 18, 2023

    @mgineer85

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

  6. linven commented on Dec 5, 2023

    @linven

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

  7. mgineer85 commented on Jan 5, 2024

    @mgineer85

    Anybody aware of a maintained alternative?

  8. ahelal commented on Jul 15, 2024

    @ahelal

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions