Subscribe on changes!

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

avatar
Nov 3rd 2021

Version

Vue: 3.2.21

Reproduction link

codesandbox.io

Steps to reproduce

  1. Goto https://uwnej.csb.app
  2. Open the Developer console
  3. See the null pointer error in all its glory

What is expected?

App should run without errors in production mode.

What is actually happening?

Vue is throwing the error in production mode.

vendor.js:formatted:2633 TypeError: Cannot read properties of null (reading 'isCE')


The error does not happen in dev mode using Vite, but only in production build as generated by Vite build command.

vendor.js:formatted:2633 TypeError: Cannot read properties of null (reading 'isCE')
    at bf (vendor.js:formatted:3586)
    at Proxy.Te (index.js:formatted:354)
    at Wn (vendor.js:formatted:826)
    at vn._ [as fn] (vendor.js:formatted:1742)
    at vn.run (vendor.js:formatted:211)
    at K (vendor.js:formatted:1760)
    at bn (vendor.js:formatted:1690)
    at Es (vendor.js:formatted:1676)
    at O (vendor.js:formatted:1522)
    at vn._ [as fn] (vendor.js:formatted:1743)
avatar
Nov 3rd 2021

Your reproduction is not minimal, please read and follow https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro when reporting a bug. Most bugs should be reproducible with the SFC Playground.