express-typescript-boilerplate icon indicating copy to clipboard operation
express-typescript-boilerplate copied to clipboard

Got Error on run yarn setup

Open texiontech opened this issue 4 years ago • 6 comments

I've got this error message when try to run setup project

TypeError: typeorm_seeding_1.loadEntityFactories is not a function

Screen Shot 2563-03-25 at 00 27 05

When I've go to the file seed.ts it's seem like no const define for

loadConnection, loadEntityFactories, loadSeeds, runSeed

Screen Shot 2563-03-25 at 00 28 38

texiontech avatar Mar 24 '20 17:03 texiontech

Me 2 :(

mo-kalaleeb avatar Mar 25 '20 14:03 mo-kalaleeb

Me 2 :(

I'v fix by run this command

npm install [email protected] --save

texiontech avatar Mar 27 '20 17:03 texiontech

Alright, So I faced the same problem and here is how I fixedit

  1. I was using the latest node version 13.0
  2. I downgraded to node 10.12.0
  3. Then I ran this ----- npm install [email protected]
  4. 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

usmanumar97 avatar Mar 30 '20 22:03 usmanumar97

If you have an issue with bcrypt, use the latest version 3.0.6

from their documentation

12 | >= 3.0.6

dayze avatar Apr 26 '20 00:04 dayze

me 2

arashjfz avatar Nov 22 '21 20:11 arashjfz

@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

YonatanCatav avatar Nov 26 '21 17:11 YonatanCatav