eKuiper 1.11.0/1.10.0版本在使用Flow创建规则时,添加脚本节点并保存规则提示语法错误

脚本在浏览器上是可以正确执行:
var msg = {“version”:1,“t”:1860486013,“data”:{“driverId”:1,“dps”:{“101”:“stop”}}};
console.log(exec(msg))

function exec(msg) {
if (msg.data.driverId == “4”) {
msg.data.dps = “hello world”
return msg
} else if (msg.data.driverId == “1”) {
const dpsObj = new Map(Object.entries(msg.data.dps))
if (dpsObj.get(“101”) == “stop”) {
msg.alarm = “关闭”
return msg
}
}
return msg
}

脚本在保存Flow规则时提示错误:
create rule topo error: unknown operator type script

在1.8.0版本是可以保存的

script 节点没有编入默认版本中,需要自行编译。make build_with_edgex_and_script