首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误:Response-Navigingv1.x.x/CONTRIBUTING.md:意外文件名

错误:Response-Navigingv1.x.x/CONTRIBUTING.md:意外文件名
EN

Stack Overflow用户
提问于 2018-04-07 17:29:33
回答 1查看 517关注 0票数 5

我做错什么了?

我的.flowconfig

代码语言:javascript
复制
[ignore]
.*/node_modules/.*
.*/dist/.*

[include]

[libs]

[lints]

[options]
platform=browser
module.file_ext=.jsx

[strict]

当我试图安装defs类型时。

代码语言:javascript
复制
npx flow-typed install

我收到错误

代码语言:javascript
复制
❯ npx flow-typed install
• Found 66 dependencies in package.json to install libdefs for. 
Searching...
UNCAUGHT ERROR: Error: react-navigation_v1.x.x/CONTRIBUTING.md: 
Unexpected file name. This directory can only contain test files or a 
libdef file named `react-navigation_v1.x.x.js`.
     at validationError ( ...
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-04-08 07:17:56

我认为flow-typed内部结构发生了变化,允许.md文件成为定义的一部分,但这要求您升级到flow-typed v2.4+。尝试升级您的flow-typed版本,看看它是否有帮助。

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

https://stackoverflow.com/questions/49710072

复制
相关文章

相似问题

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