1
0
mirror of https://github.com/chowa/ejyy.git synced 2026-01-21 05:07:48 +08:00

update docs

This commit is contained in:
xuecong
2021-12-04 07:05:13 +08:00
parent 2605c30447
commit 62b5296d8a
2 changed files with 13 additions and 14 deletions

View File

@@ -1,12 +0,0 @@
## windows 下开发常见问题
### server目录下执行`npm run dev`报错
> 这个问题是因为windows下没有export命令导致的按照如下方法解决
安装依赖
```
npm install -g ts-node typescript cross-env
```
修改 `server/package.json`中的`scripts.dev`为`cross-env NODE_ENV=development nodemon -e ts --exec 'ts-node' src/app.ts`