简体   繁体   中英

Issue with node module timestampnotes “command not found”

I am attempting to use an npm module named timestamp notes.

I have run the following

$npm install timestampnotes

$timestamp

and I get

timestamp:126: command not found: slk

i then tried opening a node repl

$node

>var timestamp = require('timestampnotes');

>timestamp()

and I get basically the same thing, any ideas?

I came across a similar problem. If you are running with zsh on your terminal as opposed to bash, you need to set your 'Shells open with:' option in the Preferences>General to Command (complete path) and set the path to /bin/zsh terminal Command

The same needs to be done if you are running iTerm in place of your default Terminal. You can find this also in your Preferences>Profiles>General and again set Command to /bin/zsh iTerm Command

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM