react-native - Visual Studio 代码错误 :-Failed to start flow Error: Wrong version of Flow. 配置指定版本 ^0.92.0 但这是版本 0.95.1

标签 react-native visual-studio-code

你好,我是 React-native 的初学者,下面是我的 flowconfig 文件的版本,这个版本出现错误

[version]
^0.92.0

有没有办法解决这个错误,我试图在可视化代码中运行 Debug模式来运行 react-native 项目并打印 console.log。
到目前为止,我没有成功。

PS:- react native 初学者

最佳答案

[version] 中的 .flowconfig 更改为与安装的版本匹配,^0.95.1 screenshot example

关于react-native - Visual Studio 代码错误 :-Failed to start flow Error: Wrong version of Flow. 配置指定版本 ^0.92.0 但这是版本 0.95.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55274540/

相关文章:

javascript - React Navigation - 如何在 axios 实例中访问 this.props.navigation

javascript - X 轴开始和结束标签未显示

javascript - realm.io如何在react-native中实现——组件及初始化

visual-studio-code - 从源代码构建 VSCode 后安装扩展

javascript - 使用 expo : ‘react-navigation does not exist in the haste module map’ react native

react-native - 无法在 react-native 中解析 'uuid/v4'

javascript - 类型 '{ class: string; }' 不可分配给类型 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'

visual-studio-code - 我可以在 VS Code 中扩展现有的着色器或语言吗

python - 有没有一种方法/扩展可以在 Visual Studio Code 中从 "Format On Save"中排除某些行?

linux - 如何在 Linux 中使用 VSCode 切换注释?