macOS iTerm2 is stuck repetitively printing out errors, thereby this shell is inaccessible to correct any problems.
Problem Details:
I did a brew cleanup
and something got messed up, and iTerm2 is now repetitively displaying...
Last login: Sun Feb 7 19:27:56 on ttys000
npx: the --shell-auto-fallback argument has been removed.
See `npm help exec` for more information
npx: the --shell-auto-fallback argument has been removed.
See `npm help exec` for more information
npx: the --shell-auto-fallback argument has been removed.
See `npm help exec` for more information
***
Environment Details:
Resolution Attempts:
I came across the recent StackOverflow: npx: the shell-auto-fallback argument has been removed
However, this will not help because I am unable to key in anything while this is perpetually printing.
I tried overriding shell in iTerm2 to stop using zsh and instead use bash , but that did not help either:
Help!
I am out of ideas. Any suggestions will be helpful. Thank you.
Too much was messed up.
Now everything is good.
IMPORTANT: Have a Time Machine backup, I did not. That would have saved me a lot of work
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.