2.9.2 regression - Cannot read properties of null (reading 'isCE')
See original GitHub issueDescribe the bug
Please use provided repo and run npm run dev
then open developer console you will see the error.
Downgrade to 2.9.1 problem is gone.
Reproduction
https://github.com/jzs11/vite-regression-playground
System Info
System:
OS: macOS 12.3.1
CPU: (10) arm64 Apple M1 Max
Memory: 4.11 GB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 17.8.0 - /usr/local/bin/node
Yarn: 1.22.15 - /usr/local/bin/yarn
npm: 8.5.5 - /usr/local/bin/npm
Browsers:
Chrome: 100.0.4896.88
Firefox: 99.0
Safari: 15.4
npmPackages:
@vitejs/plugin-vue: 2.3.1 => 2.3.1
vite: 2.9.2 => 2.9.2
Used Package Manager
npm
Logs
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it’s a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top 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 >cannot read properties of null (reading 'package') - You.com
The error message means that npm is trying to read the version property of the folder's package.json file but doesn't find the file....
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
... Bug:137286 - "app-emulation/dosemu: COPYING gets compressed by ecompress and can't be read" status:RESOLVED resolution:OBSOLETE severity:normal ...
Read more >IBM Business Process Manager V8.0 Production Topologies
Note: Before using this information and the product it supports, read the information in ... 16.1.5 Configuring IBM HTTP Server plug-in properties ....
Read more >Inertia.js + Vue 3 + TS = "Cannot read properties of null ...
Inertia.js + Vue 3 + TS = "Cannot read properties of null (reading 'dataset')". Hi guys, I'm trying to setup a new Laravel...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm it is now working as expected after upgrading to 2.9.5. Thank you guys for your effort.
try this, force him to use esm bunder.
The reason for this is because if your project import a package thats is export by cjs, for some reason, the vue-core runtime will also import cjs, that’s why we got an error here, btw this also causes the hmr not works in vue file.