Brackets实时预览似乎无法正常工作。单击实时预览后,黄色闪电图标仅填充一半。浏览器尝试开始加载实时预览,但它会卡在括号等待...页面上。
网址为:file:/// C:/ Program%20Files%20(x86)/Brackets/www/LiveDevelopment/launch.html
我打开了括号devtools(localhost:9234 / devtools / devtools.html?ws = localhost:9234 / devtools / page / ec744244d7ea99e5c99ffeb2ff42872e)来查找错误,浏览器控制台显示:
enable failed on agent css ErrorNotification.js:117
DOM agent needs to be enabled first. Object {code: -32000, message: "DOM agent needs to be enabled first."}
Object {method: "CSS.enable", id: 6, params: Object} ErrorNotification.js:117
Assertion failed: Attempted to call remote method without objectId set. /LiveDevelopment/Agents/RemoteAgent.js:58
Some arguments of method 'Runtime.callFunctionOn' can't be processed
Parameter 'objectId' with type 'String' was not found.
Object {code: -32602, message: "Some arguments of method 'Runtime.callFunctionOn' can't be processed", data: Array[1]}
Object {method: "Runtime.callFunctionOn", id: 7, params: Object} ErrorNotification.js:117
Some arguments of method 'Runtime.callFunctionOn' can't be processed
Parameter 'objectId' with type 'String' was not found.
Object {code: -32602, message: "Some arguments of method 'Runtime.callFunctionOn' can't be processed", data: Array[1]}
Object {method: "Runtime.callFunctionOn", id: 8, params: Object} ErrorNotification.js:117
我试过了:
我没有想法。有人能帮忙吗?
答案 0 :(得分:1)
需要首先启用" DOM代理" Chrome 40引入了一个问题(目前尚不稳定),因此对Brackets 1.0及更早版本的修复就是使用Chrome 39.对于Brackets 1.1,Chrome 40就是pending fix。