首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >macOS: iTerm2:重复:"npx:--外壳自动回退删除“

macOS: iTerm2:重复:"npx:--外壳自动回退删除“
EN

Stack Overflow用户
提问于 2021-02-08 03:45:44
回答 1查看 365关注 0票数 0

macOS iTerm2经常重复打印错误,因此无法访问此外壳程序来纠正任何问题。

问题详细信息:

我做了一个brew cleanup,有些东西搞砸了,iTerm2正在反复展示.

代码语言:javascript
复制
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
***

环境详细信息:

node

  • Default

  • 笔记本电脑是macOS (Mojave

  • is iTerm2 3.2.9 app

  • Code主要在node

  • Default shell is zsh.

解决方案尝试:

我偶然发现了最近的StackOverflow:npx: the shell-auto-fallback argument has been removed

然而,这不会有帮助,因为我无法输入任何东西,而这是永久打印。

我尝试在iTerm2中重写shell,以停止使用zsh,而使用bash,但这也没有帮助:

救命!

我没有主意了。任何建议都是有帮助的。谢谢,

EN

回答 1

Stack Overflow用户

发布于 2021-02-08 12:41:29

太多的东西被搞砸了。

  • Restored macOS
  • Reinstalled brew
  • Reinstalled zsh
  • Reinstalled everything node

现在一切都很好。

重要:有一个时光机备份,我没有。那会帮我省下很多工作

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66095666

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档