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

使用vue3出现TypeError: Cannot read properties of undefined (reading 'extend')问题,如何解决? #460

Open
greysonkk opened this issue Nov 5, 2022 · 12 comments

Comments

@greysonkk
Copy link

image

@bgitfk
Copy link

bgitfk commented Nov 9, 2022

我也出现了这个bug...

@Marianna-Ma
Copy link

我也是。。。。

@1242174973
Copy link

怎么解决了

@bgitfk
Copy link

bgitfk commented Nov 30, 2022

没解决,用别的插件了 v-3d-loader

@LXMsaal
Copy link

LXMsaal commented Jan 7, 2023

插件版本升到2

@geshichuangdi
Copy link

插件版本升到2

什么意思?

@LXMsaal
Copy link

LXMsaal commented Jan 12, 2023

插件版本升到2

什么意思?

image

@54mu3l
Copy link

54mu3l commented May 11, 2023

I've the same error.

TypeError: Cannot read properties of undefined (reading 'extend')
    at Module.fb15 (vue-3d-model.umd.js:78116:1)
    at __nested_webpack_require_658__ (vue-3d-model.umd.js:30:1)
    at eval (vue-3d-model.umd.js:94:1)
    at eval (vue-3d-model.umd.js:97:1)
    at webpackUniversalModuleDefinition (vue-3d-model.umd.js:3:1)
    at eval (vue-3d-model.umd.js:10:1)
    at ./node_modules/vue-3d-model/dist/vue-3d-model.umd.js (vendor.js:6235:1)
    at __webpack_require__ (app.js:1684:33)
    at fn (app.js:1985:21)
    at eval (index.js??clonedRuleSet-2.use[0]!./node_modules/@quasar/app-webpack/lib/webpack/loader.vue.auto-import-quasar.js??ruleSet[0].use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[1]!./src/pages/XXXXXXXX.vue?vue&type=script&lang=js:13:70)
t

I'm using vue 3.2.45

This was referenced May 11, 2023
@bete7512
Copy link

The same problem here.

@NewNameArk
Copy link

升级到2也没好使

@xudingxie
Copy link

使用npm指定版本安装。如果不指定版本,会自动选择1.*.*的版本。 哪怕再package.json中指定了版本,在package-lock.json中依旧是旧版本,使用npm update vue-3d-model之后发现依旧锁定旧版本。因此需要指定此版本

npm install vue-3d-model@v2.0.0-alpha.4 --save  

@dragonzoebai
Copy link

不指定版本的时候默认安装的是1版本,1版本只支持vue2。在vue3中需要显示指定2版本,npm install [email protected] --save

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