问题描述
我只是从Flow开始,尝试使用以下错误消息运行Flow时,我经常崩溃:
(35482) merge_job THROWS: [1] /nodejs-flow/package.json: Parsing_heaps_exceptions.Sig_requires_not_found("/nodejs-flow/package.json")
Raised at file "hashtbl.ml",line 194,characters 13-28
Called from file "src/heap/sharedMem.ml",line 683,characters 24-44
[2020-10-01 13:09:33.888] First merge internal error:
"/nodejs-flow/package.json": (0,0) to (0,0)
uncaught exception: Parsing_heaps_exceptions.Sig_requires_not_found("/nodejs-flow/package.json"
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! nodejs-flow@1.0.0 flow:check: `flow check ./src/`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the nodejs-flow@1.0.0 flow:check script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /**/.npm/_logs/2020-10-01T11_09_33_974Z-debug.log
[ignore]
.*/node_modules/.*
[include]
[libs]
flow-typed
[lints]
[options]
all=true
[strict]
对于设置,我运行了flow init
,然后我全局安装了flow-typed
并运行了flow-typed install
我只是在代码上运行flow check ./src/
,尽管有时可以打印出错误,但我始终得到上述错误代码。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)