Cannot read property ‘forceUpdate’ of undefined
Cannot read property ‘forceUpdate’ of undefined**
below error is to use HBuilder X run WeChat small program sometimes error, although this error does not affect the development function, but look very boring, especially for me this kind of a bit obsessivepeople
this error has two solutions
1. Use test number when creating projects with WeChat development tool to avoid this error. Note: If you need to develop authorization login and payment functions in your development project, you need the AppID to test these functions, and the test number does not support these functions. In this case, the second method can be used
2. Go to WeChat small program to register an account, registration will be OK in a few minutes, after the success of the AppID. How do I get it?
Then use the AppID
in HBuilder X
Above is my share and solution for this error report. If there is anything wrong, please correct it
Read More:
- Applet component properties error cannot read property ‘name’ of undefined
- [_ Note] Vue.js reported an error: Cannot read property’validate’ of undefined”
- TypeError: Cannot read property ‘username‘ of undefined
- Wechat applet background image error
- Vue: cannot read property ‘substring’ of undefined“
- Cannot read property ‘properties’ of undefined
- Vue error resolution: TypeError: Cannot read property’_t’ of undefined”
- Datatable plug-in error: uncaught typeerror: cannot read property ‘style’ of undefined
- TypeError: Cannot read property thisCompilation of undefined
- Error in created hook: “typeerror: cannot read property ‘cm’ of undefined”
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- Vue error resolution: typeerror: cannot read property ‘_ t’ of undefined”
- Uncaught type error: cannot read property ‘MSIE’ of undefined
- Cannot read property ‘this compilation’ of undefined appears in copy webpack plugin
- Vue uses this. $refs. Subcomponent Ref. method to report an error: cannot read property ‘resetfields’ of undefined problem
- Error in mounted hook: “TypeError: Cannot read property ‘init‘ of undefined“
- Cannot read property ‘catch‘ of undefined“
- Wechat applet error: unhandled project rejection type error: webassembly.instant
- Vue error in render: “typeerror: cannot read property ‘name’ of undefined”
- Cannot read property ‘i18n‘ of undefined