- 
                Notifications
    You must be signed in to change notification settings 
- Fork 102
Open
Description
Environment
Operating System: windows
Node Version: v16.15.0
Nuxt Version: 3.0.0-rc.6
Package Manager: [email protected]
Builder:
Build Modules: "element-plus": "^2.2.10"
Reproduction
nuxt build / nuxt start
Describe the bug
When I use the el-carousel component, the error cannot read properties of null (reading'isCE') will be reported when I package and start the nuxt3 project, But as long as I add the tag, it will work normally
Logs
[Vue warn]: onMounted is called when there is no active component instance to be associated with. Lifecycle injec
tion APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lif
ecycle hooks before the first await statement.
[Vue warn]: onBeforeUnmount is called when there is no active component instance to be associated with. Lifecycle
 injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to regist
er lifecycle hooks before the first await statement.
[Vue warn]: provide() can only be used inside setup().
TypeError: Cannot read properties of null (reading 'isCE')
    at renderSlot (D:\StudyPlace\Test\nuxt3-app\.output\server\node_modules\@vue\runtime-core\dist\runtime-core.c
js.js:2937:34)
    at Proxy.<anonymous> (file:///D:/StudyPlace/Test/nuxt3-app/.output/server/node_modules/element-plus/es/compon
ents/carousel/src/carousel2.mjs:295:11)
    at renderComponentRoot (file:///D:/StudyPlace/Test/nuxt3-app/.output/server/chunks/renderer.mjs:2961:45)     
    at renderComponentSubTree (file:///D:/StudyPlace/Test/nuxt3-app/.output/server/chunks/renderer.mjs:10597:51) 
    at renderComponentVNode (file:///D:/StudyPlace/Test/nuxt3-app/.output/server/chunks/renderer.mjs:10526:16)   
    at Object.ssrRenderComponent (file:///D:/StudyPlace/Test/nuxt3-app/.output/server/chunks/renderer.mjs:10946:1
2)
My Reproduction Project
Metadata
Metadata
Assignees
Labels
No labels