dive-into-webpack icon indicating copy to clipboard operation
dive-into-webpack copied to clipboard

3.3 Could not start Flow server!

Open hellozjf opened this issue 7 years ago • 0 comments

我下载了https://github.com/gwuhaolin/dive-into-webpack/blob/master/3-3%E4%BD%BF%E7%94%A8Flow%E6%A3%80%E6%9F%A5%E5%99%A8.zip,然后运行npm install安装依赖,再运行npm run buildnpm run flow,但是我运行npm run flow的时候报错了,提示我Could not start Flow Server

具体报错内容为:

D:\hellozjf\book\深入浅出Webpack\code\3-3使用Flow检查器>npm run flow

> [email protected] flow D:\hellozjf\book\深入浅出Webpack\code\3-3使用Flow检查器
> flow

Launching Flow server for D:\hellozjf\book\深入浅出Webpack\code\3-3使用Flow检查器
Spawned flow server (pid=8472)
Logs will go to C:\Users\ADMINI~1\AppData\Local\Temp\flow\DzCzBhellozZjfzBbookzB深入浅出WebpackzBcodezB3-3使用Flow检查器.log
Error: Failed to start server. exited prematurely with code 2.
Could not start Flow server!
npm ERR! code ELIFECYCLE
npm ERR! errno 78
npm ERR! [email protected] flow: `flow`
npm ERR! Exit status 78
npm ERR!
npm ERR! Failed at the [email protected] flow 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!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-11-14T04_18_38_479Z-debug.log

请问如何正确运行Flow?

hellozjf avatar Nov 14 '18 04:11 hellozjf