question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: [vue-runtime] TypeError: Cannot read properties of null (reading 'isCE')

See original GitHub issue

Description

toRefs() expects a reactive object but received a plain one.
[Vue warn]: onMounted 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 register lifecycle 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 register lifecycle hooks before the first await statement.
TypeError: Cannot read properties of null (reading 'isCE')
    at Object.renderSlot (/workspaces/vodoley/vodoley-frontend/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2937:34)
    at /workspaces/vodoley/vodoley-frontend/.output/server/node_modules/@yeger/vue-masonry-wall/dist/masonry-wall.umd.js:13:1841
    at Object.renderList (/workspaces/vodoley/vodoley-frontend/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2874:22)
    at /workspaces/vodoley/vodoley-frontend/.output/server/node_modules/@yeger/vue-masonry-wall/dist/masonry-wall.umd.js:13:1751
    at Object.renderList (/workspaces/vodoley/vodoley-frontend/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2874:22)
    at Proxy.<anonymous> (/workspaces/vodoley/vodoley-frontend/.output/server/node_modules/@yeger/vue-masonry-wall/dist/masonry-wall.umd.js:13:1395)
    at renderComponentRoot (file:///workspaces/vodoley/vodoley-frontend/.output/server/chunks/handlers/renderer.mjs:2961:45)
    at renderComponentSubTree (file:///workspaces/vodoley/vodoley-frontend/.output/server/chunks/handlers/renderer.mjs:10597:51)
    at renderComponentVNode (file:///workspaces/vodoley/vodoley-frontend/.output/server/chunks/handlers/renderer.mjs:10526:16)
    at Object.ssrRenderComponent (file:///workspaces/vodoley/vodoley-frontend/.output/server/chunks/handlers/renderer.mjs:10946:12)

Reproduction

Nuxt project info: 01:03:48

  • Operating System: Linux
  • Node Version: v16.14.2
  • Nuxt Version: 3.0.0-rc.4
  • Vue Version: 3.2.37
  • Package Manager: yarn@1.22.18
  • Builder: vite

The error is only thrown in the production build

Additional context

No response

Preferences

  • I want to be assigned to and work on this issue myself

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
DerYegercommented, Jul 25, 2022
1reaction
DerYegercommented, Sep 6, 2022

We now add vue as an external by default. Let me know if this issue still persists.

(We can track any remaining issues in nuxt/framework#4084.)

Awesome! I’ll close this issue for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

vue.js - TypeError: Cannot read properties of null (reading 'isCE')
The following error is reported back in the console. TypeError: Cannot read properties of null (reading 'isCE'). I have looked into the issue ......
Read more >
2.9.2 regression - Cannot read properties of null ... - GitHub
Describe the bug Please use provided repo and run npm run dev ... 2.9.2 regression - Cannot read properties of null (reading 'isCE')...
Read more >
TypeError: Cannot read properties of null (reading 'isCE')
Coding example for the question TypeError: Cannot read properties of null (reading 'isCE') - Custom Component Library-Vue.js.
Read more >
uncaught typeerror: cannot read properties of undefined ...
I am getting backend.js:949 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'substring') error after vue devtools new update.
Read more >
Inertia.js + Vue 3 + TS = "Cannot read properties of null ...
js + Vue 3 + TS = "Cannot read properties of null (reading 'dataset')". Hi guys, I'm trying to setup a new Laravel...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found