vuejs / repl

Vue SFC REPL as a Vue 3 component
https://repl-vuejs.vercel.app
MIT License
904 stars 159 forks source link

Uncaught (in promise) TypeError: Object(...) is not a function at setup (vue-repl.js:16821:1) #222

Closed Andy-xue closed 6 months ago

Andy-xue commented 6 months ago

Hi! I can't seem to run vue-repl with vue-cli,, I get a browser console error

vue-repl.js:16821 Uncaught (in promise) TypeError: Object(...) is not a function at setup (vue-repl.js:16821:1) at callWithErrorHandling (runtime-core.esm-bundler.js:6992:1) at setupStatefulComponent (runtime-core.esm-bundler.js:6608:1) at setupComponent (runtime-core.esm-bundler.js:6564:1) at mountComponent (runtime-core.esm-bundler.js:4423:1) at processComponent (runtime-core.esm-bundler.js:4398:1) at patch (runtime-core.esm-bundler.js:3993:1) at mountChildren (runtime-core.esm-bundler.js:4189:1) at mountElement (runtime-core.esm-bundler.js:4098:1) at processElement (runtime-core.esm-bundler.js:4070:1)

my dependencies: "core-js": "^3.6.5", "@vue/repl": "4.1.1", "vue": "~3.2.0",

sxzz commented 6 months ago

Please provide a minimal reproduction to reopen the issue. Thanks.

Why reproduction is required

Andy-xue commented 6 months ago

"core-js": "^3.8.3", "vue": "~3.2.0", "@vue/repl": "4.1.1" There is a problem when installing the project according to the above configuration. I want to know which version of vue the repl needs to use.

sxzz commented 6 months ago

Without a detailed reproduction repo, nobody can figure out the way to solve it.

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.

为什么需要重现