我跟着“你好世界!”这些指南中的NodeJS示例
并为每个我收到此错误
Error: No *print-fn* fn set for evaluation environment
我错过了一步吗?这似乎是一个相当基本的问题......有谁知道print-fn的设置在哪里?
答案 0 :(得分:16)
你可以说
(enable-console-print!)
使用console.log
进行打印。
在幕后,enable-console-print!
设置*print-newline*
和*print-fn*
。从r2156开始,这是the source。