- 工具更新后有时候报渲染层错误,什么问题?
问题1: [渲染层错误] CSSAdapter::getMatchedStylesForNode TypeError: Cannot read property '$$' of undefined(env: Windows,mp,1.06.2204222; lib: 2.17.0) [渲染层错误] inspectee CSS.getMatchedStylesForNode error: TypeError: Cannot read property '$$' of undefined(env: Windows,mp,1.06.2204222; lib: 2.17.0) 问题2: [渲染层错误] inspectee DOM.requestChildNodes error: TypeError: Cannot read property 'children' of null(env: Windows,mp,1.06.2204222; lib: 2.17.0)
2022-04-25 - 更新新建项目报错
今天更新开发者工具,新建项目报错,报错内容如下: app.js错误: Error: module "app.js" is not defined at require (VM13 WAService.js:2) at <anonymous>:7:9 at doWhenAllScriptLoaded (appservice?t=1640829246817:1199) at HTMLScriptElement.scriptLoaded (appservice?t=1640829246817:1227) at HTMLScriptElement.script.onload (appservice?t=1640829246817:1236)(env: Windows,mp,1.05.2112292; lib: 2.17.0) (anonymous) @ VM24:9 doWhenAllScriptLoaded @ appservice?t=1640829246817:1199 scriptLoaded @ appservice?t=1640829246817:1227 script.onload @ appservice?t=1640829246817:1236 load (async) (anonymous) @ appservice?t=1640829246817:1235 (anonymous) @ appservice?t=1640829246817:1277 VM13 WAService.js:2 Error: module "app.js" is not defined at require (VM13 WAService.js:2) at <anonymous>:7:9 at doWhenAllScriptLoaded (appservice?t=1640829246817:1199) at HTMLScriptElement.scriptLoaded (appservice?t=1640829246817:1227) at HTMLScriptElement.script.onload (appservice?t=1640829246817:1236)(env: Windows,mp,1.05.2112292; lib: 2.17.0) errorReport @ VM13 WAService.js:2 thirdErrorReport @ VM13 WAService.js:2 (anonymous) @ VM13 WAService.js:2 f @ VM13 WAService.js:2 s @ VM13 WAService.js:2 c @ VM12 asdebug.js:1 window.onerror @ VM8:10 doWhenAllScriptLoaded @ appservice?t=1640829246817:1199 scriptLoaded @ appservice?t=1640829246817:1227 script.onload @ appservice?t=1640829246817:1236 error (async) t.default @ VM8:10 (anonymous) @ VM8:10 n @ VM8:1 (anonymous) @ VM8:1 (anonymous) @ VM8:1 VM13 WAService.js:2 Error: module "app.js" is not defined at require (VM13 WAService.js:2) at <anonymous>:7:9 at doWhenAllScriptLoaded (appservice?t=1640829246817:1199) at HTMLScriptElement.scriptLoaded (appservice?t=1640829246817:1227) at HTMLScriptElement.script.onload (appservice?t=1640829246817:1236)(env: Windows,mp,1.05.2112292; lib: 2.17.0) errorReport @ VM13 WAService.js:2 thirdErrorReport @ VM13 WAService.js:2 (anonymous) @ VM13 WAService.js:2 f @ VM13 WAService.js:2 s @ VM13 WAService.js:2 (anonymous) @ VM13 WAService.js:2 value @ VM13 WAService.js:2 (anonymous) @ VM13 WAService.js:2 doWhenAllScriptLoaded @ appservice?t=1640829246817:1199 scriptLoaded @ appservice?t=1640829246817:1227 script.onload @ appservice?t=1640829246817:1236 error (async) (anonymous) @ VM13 WAService.js:2 (anonymous) @ VM13 WAService.js:2 (anonymous) @ VM13 WAService.js:2 2[sitemap 索引情况提示] 根据 sitemap 的规则[0],当前页面 [pages/index/index] 将被索引 [ appservice 生成错误] utils/util.js: file: utils/util.js Cannot find module '@babel/plugin-proposal-private-methods' Require stack: - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\utils\babel_helper.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\compilejs.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\index.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\worker.js(env: Windows,mp,1.05.2112292; lib: 2.17.0) [ appservice 生成错误] app.js: file: app.js Cannot find module '@babel/plugin-proposal-private-methods' Require stack: - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\utils\babel_helper.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\compilejs.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\index.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\worker.js(env: Windows,mp,1.05.2112292; lib: 2.17.0) [ appservice 生成错误] pages/index/index.js: file: pages/index/index.js Cannot find module '@babel/plugin-proposal-private-methods' Require stack: - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\utils\babel_helper.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\compilejs.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\index.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\worker.js(env: Windows,mp,1.05.2112292; lib: 2.17.0) [ appservice 生成错误] pages/logs/logs.js: file: pages/logs/logs.js Cannot find module '@babel/plugin-proposal-private-methods' Require stack: - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\utils\babel_helper.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\compilejs.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\index.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\worker.js(env: Windows,mp,1.05.2112292; lib: 2.17.0) [ appservice 生成错误] .eslintrc.js: file: .eslintrc.js Cannot find module '@babel/plugin-proposal-private-methods' Require stack: - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\utils\babel_helper.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\compilejs.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\task\index.js - C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\2a1954bbe6cd9e8fe4f1f171d120c9ea\WeappCode\package.nw\js\common\compiler\core\worker_thread\worker.js(env: Windows,mp,1.05.2112292; lib: 2.17.0) Page "pages/index/index" has not been registered yet.
2021-12-30