express-typescript-boilerplate
express-typescript-boilerplate copied to clipboard
Got Error on run yarn setup
I've got this error message when try to run setup project
TypeError: typeorm_seeding_1.loadEntityFactories is not a function

When I've go to the file seed.ts it's seem like no const define for
loadConnection, loadEntityFactories, loadSeeds, runSeed

Me 2 :(
Alright, So I faced the same problem and here is how I fixedit
- I was using the latest node version 13.0
- I downgraded to node 10.12.0
- Then I ran this ----- npm install [email protected]
- It worked fine for me
P.S - Bcrypt support forNode 13 is just not stable.
Please update if you have any other suggestions or better solutions
If you have an issue with bcrypt, use the latest version 3.0.6
from their documentation
12 | >= 3.0.6
me 2
@arashjfz hi I also had this issue and fixed it in this PR (that wasn't reviewed yet) https://github.com/w3tecch/express-typescript-boilerplate/pull/249 you can use this branch, it should run without any problems