小編在一次更新完微信開發(fā)者工具之后就報錯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
后來發(fā)現(xiàn)是微信開發(fā)者工具更新之后兼容性問題,解決方法如下:
在app.josn文件中添加"cloud":true
如圖:

解決辦法