Nestjs-Learning icon indicating copy to clipboard operation
Nestjs-Learning copied to clipboard

typeorm连接数据库时,ormconfig.json entities的路径配置问题

Open poleices opened this issue 4 years ago • 0 comments

easy-post项目中的配置为: "entities": ["src/**/**.entity{.ts,.js}"], 这样连接数据库的时候报错, 而指到 "entities": ["dist/**/**.entity{.ts,.js}"], 就没有问题, 关于这块怎么破?你们没有遇到这个问题么?

poleices avatar Nov 13 '20 10:11 poleices