Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用swirlr 中的包创建了一个课程。yaml 文件创建良好。
swirl
new_lesson("lesson_name", "course_name") demo_lesson()
但是,我尝试运行该课程但收到以下错误:
Scanner error: mapping values are not allowed in this context at line 61, column 32
这个错误对我来说是不可理解的。任何了解 swirl 的人都知道它的含义以及如何解决它?
发现错误。这是swirl()函数用来显示问题的 yaml 文档中的缩进问题。不过,如何找到“第 61 行,第 32 列”对我来说仍然很神秘。
swirl()