Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spews out a bunch of grep-messages and crashes when encountering gulpfile #2363

Closed
Limpan opened this issue Nov 27, 2020 · 2 comments
Closed

Comments

@Limpan
Copy link

Limpan commented Nov 27, 2020

Operating system and version:

macOS Big Sur, 11.0.1

nvm debug output:

nvm --version: v0.37.1
$TERM_PROGRAM: Apple_Terminal
$SHELL: /bin/zsh
$SHLVL: 1
whoami: 'linus'
${HOME}: /Users/linus
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: ${NVM_DIR}/versions/node/v14.15.1/bin:${HOME}/.pyenv/shims:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'zsh 5.8 (x86_64-apple-darwin20.0)'
uname -a: 'Darwin 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 x86_64'
checksum binary: 'shasum'
OS version: macOS 11.0.1 20B50
curl: /usr/bin/curl, curl 7.64.1 (x86_64-apple-darwin20.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.41.0
wget: not found
sed: /usr/bin/sed
cut: /usr/bin/cut
basename: /usr/bin/basename
rm: rm: aliased to nocorrect rm -i (nocorrect rm -i)
mkdir: mkdir: aliased to nocorrect mkdir -p (nocorrect mkdir -p)
xargs: /usr/bin/xargs
ls: /usr/local/bin/git
/usr/bin/git: No such file or directory
git: /usr/local/bin/git
/usr/bin/git, git version 2.29.2
ls: grep:: No such file or directory
grep: grep: aliased to nocorrect grep --color=auto (nocorrect grep --color=auto), grep (BSD grep) 2.5.1-FreeBSD
awk: /usr/bin/awk, awk version 20200816
nvm current: v14.15.1
which node: ${NVM_DIR}/versions/node/v14.15.1/bin/node
which iojs: iojs not found
which npm: ${NVM_DIR}/versions/node/v14.15.1/bin/npm
npm config get prefix: ${NVM_DIR}/versions/node/v14.15.1
npm root -g: ${NVM_DIR}/versions/node/v14.15.1/lib/node_modules

nvm ls output:

->     v14.15.1
         system
default -> lts/* (-> v14.15.1)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v14.15.1) (default)
stable -> 14.15 (-> v14.15.1) (default)
lts/* -> lts/fermium (-> v14.15.1)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.23.0 (-> N/A)
lts/erbium -> v12.20.0 (-> N/A)
lts/fermium -> v14.15.1

How did you install nvm?

Homebrew

What steps did you perform?

Started macOS Terminal, also tested in VS Code integrated terminal.

What happened?

In macOS Terminal i get the following when starting.

grep: Desktop: Is a directory
grep: Development: Is a directory
grep: Documents: Is a directory
grep: Downloads: Is a directory
grep: Från backup: Is a directory
grep: Library: Is a directory
grep: Movies: Is a directory
grep: Music: Is a directory
grep: Pictures: Is a directory
grep: Public: Is a directory

When starting integrated terminal in VS Code I get:

grep: experiment: Is a directory
grep: node_modules: Is a directory
grep: src: Is a directory
nvm is not compatible with the "gulpfile.js:        .pipe(dest('dist/css'))" environment variable: currently set to ".js:        .pipe(dest('dist/css'))"
Run `unset gulpfile.js:        .pipe(dest('dist/css'))` to unset it.

What did you expect to happen?

I expected nvm to work and not throw a bunch of garbage.

Is there anything in any of your profile files that modifies the PATH?

zsh with Prezto installed, pyenv.

@ljharb
Copy link
Member

ljharb commented Nov 27, 2020

This seems like a duplicate of #2360?

@Limpan
Copy link
Author

Limpan commented Nov 27, 2020

@ljharb Yes, sorry I missed that one!

@ljharb ljharb closed this as completed Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants