问题遇到的现象和发生背景
在执行命令./scripts/build-static -d -l -s -v='rancher-ui' -c='ip地址:端口'时提示:
Template Compiler Error (TemplateCompiler) in ui/components/volume-source/source-custom-log-path/template.hbs
The mount
keyword was used incorrectly. It was used as a call expression, but its valid usages are:
- As an append statement, as in: {{mount}}
Error caused by:
mount.mountPath
问题相关代码,请勿粘贴截图
mount:挂载,mountPath:容器路径
我的解答思路和尝试过的方法
我根据提示将value改为value={{mount.mountPath}}结果失败,提示'OPEN_SEXPR', 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'OPEN'