Using the project developed by HBuilderX, WeChat develop tool report an error:
Cannot read property ‘forceUpdate’ of undefined
The solution is shown in the figure:
In the project directory, find manifest.json – WeChat applet configuration – configure “WeChat applet AppID”
Open the developer tool, view the corresponding appid, fill in the upper part, and refresh the developer tool.
If you continue to report this error, restart hbuildx and wechat developer tools after configuration, and re run the project.
Read More:
- Cannot read property ‘isFile‘ of undefined [How to Solve]
- [Solved] Cannot read property ‘setCheckedKeys‘ of undefined“
- Vue cannot read property ‘xxx’ of undefined solutions
- [Solved] Install The Latest Version of Jest Error: TypeError: Cannot read property ‘instrument‘ of undefined
- Uni-app Error when assigning a value to a component: [system] TypeError: Cannot read property ‘name‘ of undefined
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- [Solved] electron Error: Uncaught TypeError: Cannot read property ‘BrowserWindow‘ of undefined
- [Solved] TYPEERROR: CANNOT READ PROPERTY ‘REDUCE‘ OF UNDEFINED
- [Solved] Echarts Error: Cannot read property ‘init‘ of undefined
- [Solved] Vue element UI form verification error: cannot read property ‘validate’ of undefined
- [Solved] Vue Error: TypeError: Cannot read property ‘end‘ of undefined
- Echarts Partially introduced error: TypeError: Cannot read property ‘findAxisModel’ of undefined
- Echarts Map Error: Error: Invalid geoJson format Cannot read property ‘length‘ of undefined
- [Solved] JS Error: cannot set property xxx of undefined
- [Solved] Syntax Error: TypeError: Cannot set property ‘parent‘ of undefined
- [Vue warn]: Error in render: “TypeError: Cannot read properties of undefined
- [Vue warn]: Error in render: “TypeError: Cannot read properties of undefined
- [Solved] Uni.createintersectionobserver Error: Uncaught TypeError: Cannot read property ‘bottom’ of null
- [Solved] vue.esm.js?efeb:591 [Vue warn]: Error in event handler for “click“: “TypeError: Cannot read property