这是indexloc提供的服务,不要输入任何密码
Skip to content

usePipeTask raises "c.perform is not a function" when trying to integrate with the Quasar framework #43

@realflight1

Description

@realflight1

I am trying to integrate vue-concurrency with Quasar v2, a Vue 3 framework. When using usePipeTask I get the following error:

Uncaught (in promise) TypeError: c.perform is not a function
    at eval (wrap-utils.ts?76b1:8)
    at tryCatch (runtime.js?96cf:63)
    at Generator.invoke [as _invoke] (runtime.js?96cf:293)
    at Generator.eval [as next] (runtime.js?96cf:118)
    at getNextResult (caf.src.js?b4ef:215)

To reproduce, I created a minimal Quasar project from scratch, installed vue-concurrency, added regenerateRuntime to the webpack configuration (otherwise I get an error) and finally copied the test code for usePipeTask. The changes can be viewed in this commit.

To run the minimal project:

yarn global add @quasar/cli
git clone https://github.com/realflight1/quasar-vue-concurrency-test && cd quasar-vue-concurrency-test
yarn install
quasar dev

Am I missing something in my configuration (most likely) or is this a bug? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions