[英]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.