flat-server
flat-server copied to clipboard
服务端执行 yarn run start 报错
服务端执行 yarn run start 报以上的错
node 版本14.17.5
Sorry about the bad DX, the server code depends on a specific version of fastify because @BlackHole1 hacks the typings of that, and newer versions of fastify and TypeScript would fail to run type checking here and there.
Until someone could help us refactoring the typings, you can take either of the following actions to keep going:
- Use exactly the versions of fastify and TypeScript specified in yarn.lock to run this project.
- Update webpack.common.js to remove the
ForkTsCheckerWebpackPluginso that typing errors are suppressed.