Closed yowayb closed 6 years ago
It seems like there's no whereami
on Homebrew and if there is I can assure it's not this module. The only way I would install it is via either npm
or yarn
.
Can you please try those and let me know if you still have issues?
I'm sorry I meant I installed it via npm
On Thu, Jul 26, 2018 at 2:29 AM Rafael Rinaldi notifications@github.com wrote:
It seems like there's no whereami on Homebrew and if there is I can assure it's not this module. The only way I would install it is via either npm or yarn.
Can you please try those and let me know if you still have issues?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rafaelrinaldi/whereami/issues/11#issuecomment-407851612, or mute the thread https://github.com/notifications/unsubscribe-auth/AAk2tT4V0gFEy7-2dcqi5GU1FaxaBR1Iks5uKLj8gaJpZM4Vfq25 .
-- Yoway Buorn
Can you please provide more details so I can look into it? What’s the full log? Your env settings?
➜ ~ npm -g i @rafaelrinaldi/whereami
/Users/yoway/.nvm/versions/node/v10.7.0/bin/whereami -> /Users/yoway/.nvm/versions/node/v10.7.0/lib/node_modules/@rafaelrinaldi/whereami/cli.js
+ @rafaelrinaldi/whereami@2.1.1
added 55 packages from 24 contributors in 1.64s
➜ ~ whereami
/Users/yoway/.nvm/versions/node/v10.7.0/bin/whereami: line 1: syntax error near unexpected token `('
/Users/yoway/.nvm/versions/node/v10.7.0/bin/whereami: line 1: `const whereami = require('./')'
➜ ~ env
TERM_SESSION_ID=
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd./Listeners
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd./Render
COLORFGBG=15;0
ITERM_PROFILE=default
XPC_FLAGS=0x0
LANG=en_US.UTF-8
PWD=/Users/yoway
SHELL=/bin/zsh
TERM_PROGRAM_VERSION=3.2.0beta6
TERM_PROGRAM=iTerm.app
PATH=/Users/yoway/.nvm/versions/node/v10.7.0/bin:/Users/yoway/.rvm/gems/ruby-2.4.2/bin:/Users/yoway/.rvm/gems/ruby-2.4.2@global/bin:/Users/yoway/.rvm/rubies/ruby-2.4.2/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/yoway/go/bin:/Users/yoway/.rvm/bin:/Users/yoway/Library/Python/3.6/bin
DISPLAY=/private/tmp/com.apple.launchd./org.macosforge.xquartz:0
COLORTERM=truecolor
TERM=xterm-256color
HOME=/Users/yoway
TMPDIR=/var/folders/gw//T/
USER=yoway
XPC_SERVICE_NAME=0
LOGNAME=yoway
__CF_USER_TEXT_ENCODING=
ITERM_SESSION_ID=
SHLVL=1
OLDPWD=/Users/yoway
ZSH=/Users/yoway/.oh-my-zsh
PAGER=less
LESS=-R
LC_CTYPE=en_US.UTF-8
LSCOLORS=
EDITOR=nvim
rvm_prefix=/Users/yoway
rvm_path=/Users/yoway/.rvm
rvm_bin_path=/Users/yoway/.rvm/bin
_system_type=Darwin
_system_name=OSX
_system_version=10.13
_system_arch=x86_64
rvm_version=1.29.3 (latest)
GEM_HOME=/Users/yoway/.rvm/gems/ruby-2.4.2
GEM_PATH=/Users/yoway/.rvm/gems/ruby-2.4.2:/Users/yoway/.rvm/gems/ruby-2.4.2@global
MY_RUBY_HOME=/Users/yoway/.rvm/rubies/ruby-2.4.2
IRBRC=/Users/yoway/.rvm/rubies/ruby-2.4.2/.irbrc
RUBY_VERSION=ruby-2.4.2
NODE_PATH=/usr/local/lib/node_modules
NVM_DIR=/Users/yoway/.nvm
NVM_CD_FLAGS=-q
NVM_BIN=/Users/yoway/.nvm/versions/node/v10.7.0/bin
rvm_stored_umask=022
rvm_user_install_flag=1
rvm_loaded_flag=1
_=/usr/bin/env
Can you also please share your OS info? Node and npm version?
Nevermind I was able to reproduce the issue on my end. Will push a fix soon.
Thanks man
Fixed on v2.1.2
.
I brew installed. I'm running zsh on osx. It appeared to try to run it as bash, so I added the shebang to make it work. Is there a better way?