react-native - 无法在原子中生成命令

标签 react-native atom-editor flowtype

我在 atom 中打开文件时遇到以下错误。有谁知道可能是什么错误?

Failed to spawn command /cygdrive/c/Users/williams/AppData/Roaming/npm/flow. Make sure /cygdrive/c/Users/williams/AppData/Roaming/npm/flow is installed and on your PATH

这是截图

enter image description here

最佳答案

我找到了适合我的解决方案 我安装了 Ubuntu 18.04

解决方案:

  1. 转到 Ubuntu 软件(您将在任务栏上找到它或在所有应用程序中搜索)
  2. 在商店中搜索 xterm 并安装它。
  3. 现在安装后,按 F5 运行您的代码
  4. 就是这样。

关于react-native - 无法在原子中生成命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47845597/

相关文章:

javascript - 在 React Native 中使用流为无状态功能组件定义 Prop 类型

react-native - 无法展开和关闭可折叠点击

atom-editor - 如何更改原子编辑器中的新行缩进?

atom-editor - 在 Atom 的 TreeView 中显示文件夹

flowtype - 流: why does it complain about string being null/undefined?

javascript -//@流: Uncaught ReferenceError: number is not defined

reactjs - 操作必须是 redux 中的普通对象

typescript - React Native 扩展 NativeModules TypeScript 类型

reactjs - 用户界面小猫 : can't find variable index (BottomNavigation)

html - Atom - Emmet 包 : closing comments