[英]Issue with node module timestampnotes “command not found”
我正在尝试使用名为timestamp notes的npm模块。
我已经运行了以下
$npm install timestampnotes
$timestamp
我得到
timestamp:126: command not found: slk
然后我尝试打开一个节点repl
$node
>var timestamp = require('timestampnotes');
>timestamp()
和我基本上是一样的,有什么想法吗?
我遇到了类似的问题。 如果您在终端上使用zsh而不是bash运行,则需要在Preferences> General中将“ Shells with with”选项设置为Command(完整路径),并将路径设置为/bin/zsh
terminal Command
如果要运行iTerm代替默认终端,则需要执行相同的操作。 您也可以在“首选项”>“配置文件”>“常规”中找到它,然后再次将Command设置为/bin/zsh
iTerm Command
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.