pnpm dev 启动 egg 时 ts 报错
## What happens?
pnpm dev 启动 egg 时 ts 报错

## How To Reproduce

1. mkdir egg-demo && cd egg-demo
2. npm init egg --type=ts
3. pnpm install
4. pnpm dev

## 报错截图
![image](https://user-images.githubusercontent.com/8407978/150053489-0be641a3-e2d1-4525-9fe0-2d753bc851e3.png)
