android - 无法在 npm 命令行中使用箭头键

标签 android node.js firebase npm firebase-tools

我正在尝试设置 FireBase 功能,当我使用该命令时

npm firebase init functions

系统要求我为已设置的目录选择默认项目。我的列表已正确填充,但我无法使用箭头键选择选项。 (当我按向上或向下,甚至输入时没有任何反应)

这是我的版本:

  1. Windows 10
  2. NODEJS v8.1.0
  3. npm v5.0.3
  4. FireBase v3.9.1

问题截图:

cannot select the options

最佳答案

事实证明,您所要做的就是更新 Firebase CLI 工具,并降级 npm 版本。

我通过将 NodeJS 降级到 v6.11.0 解决了这个问题。

此外,我通过运行更新了我的 FireBase CLI

npm install -g firebase-tools

使用 nvm-windows 作为 npm 的版本 Controller 。

应该可以解决问题。

链接:nvm-windows

关于android - 无法在 npm 命令行中使用箭头键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44482511/

相关文章:

android - 使用完毕后是否需要调用 HttpURLConnection.disconnect

android - 暂停录制视频

javascript - Mongoose:如何按数字字段的百分比更新该字段

android - 在 Android 上使用 Firebase 3.0 进行电子邮件验证

swift - 设置 Google FireStore 权限以避免覆盖数据

javascript - 异步等待仅在 catch 中输出错误消息

android - SimpleCursorAdapter 和 ListView 问题

android-emulator - 自定义安卓模拟器

javascript - 如何在检索数据时过滤掉列(Waterline)

node.js - Grunt 无法在 Azure 网站上运行