问题描述
macOS iTerm2 卡住重复打印错误,因此无法访问此 shell 以纠正任何问题。
问题详情:
我做了一个 brew cleanup
并且有些东西搞砸了,iTerm2 现在重复显示...
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
***
环境详情:
解决尝试:
我遇到了最近的 StackOverflow:npx: the shell-auto-fallback argument has been removed
但是,这无济于事,因为在永久打印期间我无法键入任何内容。
我尝试在 iTerm2 中覆盖 shell 以停止使用 zsh 而是使用 bash,但这也无济于事:
帮助!
我没有想法。 任何建议都会有所帮助。谢谢。
解决方法
搞砸了太多。
- 恢复的 macOS
- 重新安装brew
- 重新安装一切zsh
- 重新安装所有节点
现在一切都很好。
重要提示:有 Time Machine 备份,我没有。那会为我节省很多工作