小编在一次更新完微信开发者工具之后就报错Page is not constructed because it is not found.一开始小编也挺纳闷的,报错信息如下:
报错1.Cannot read property 'init' of undefined;at App lifeCycleMethod onLaunch function
TypeError: Cannot read property 'init' of undefined
报错2:Uncaught TypeError: Cannot read property 'database' of undefined
报错3:Page is not constructed because it is not found.

报错信息1

报错信息3
后来发现是微信开发者工具更新之后兼容性问题,解决方法如下:
在app.josn文件中添加"cloud":true
如图:

解决办法