Jarred-Sumner / git-peek

git repo to local editor instantly
MIT License
716 stars 17 forks source link

Doesn't start on Fedora 33, ZSH, Node 14, yarn #7

Closed sisou closed 3 years ago

sisou commented 3 years ago

I installed this with yarn global add @jarred/git-peek on Fedora 33 Workstation, in ZSH, Node version v14.15.4 and I get this when I run it, with or without a package name:

~: git-peek Jarred-Sumner/git-peek
/usr/bin/env: ‘node --no-warnings’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines

Same happens when I install with npm install -g ... instead.

Can I do anything, is this a configuration issue on my side?

Jarred-Sumner commented 3 years ago

Do you have node installed? If you type which node, what does it return?

sisou commented 3 years ago

Of course.

~: which node   
/usr/bin/node
Jarred-Sumner commented 3 years ago

/usr/bin/env: use -[v]S to pass options in shebang lines

That's interesting! https://unix.stackexchange.com/questions/399690/multiple-arguments-in-shebang suggests I should add -S to the shebang.

I just published 1.1.21 can you run:

yarn global add @jarred/git-peek
sisou commented 3 years ago

That works, thanks!