Skip to content

Got Error on run yarn setup #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
texiontech opened this issue Mar 24, 2020 · 6 comments
Open

Got Error on run yarn setup #192

texiontech opened this issue Mar 24, 2020 · 6 comments

Comments

@texiontech
Copy link

texiontech commented Mar 24, 2020

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

@mo-kalaleeb
Copy link

Me 2 :(

@texiontech
Copy link
Author

Me 2 :(

I'v fix by run this command

npm install [email protected] --save

@usmanumar97
Copy link

usmanumar97 commented Mar 30, 2020

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

@dayze
Copy link

dayze commented Apr 26, 2020

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

from their documentation

12 | >= 3.0.6

@arashjfz
Copy link

me 2

@YonatanCatav
Copy link

@arashjfz
hi I also had this issue and fixed it in this PR (that wasn't reviewed yet)
#249
you can use this branch, it should run without any problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants