RobinCK / typeorm-fixtures

:pill: Fixtures loader for typeorm 🇺🇦
https://robinck.github.io/typeorm-fixtures/
MIT License
566 stars 45 forks source link

Cannot find module 'joi' after upgrade to 1.4.0 #81

Closed Alwe closed 4 years ago

Alwe commented 4 years ago

I upgraded to 1.4.0 and get a "Cannot find module 'joi' after upgrade to 1.4.0" error when running fixtures. When searching for the usage of the removed dependency joi I find it in typeorm-fixtures-cli/dist/schema/jFixturesSchema.js and .../dist/Loader The typeorm-fixtures-cli/package.json has the correct version of 1.4.0 though with @hapi/joi in dependencies.

It seems like the npm package ships with an old version of the source code.

RobinCK commented 4 years ago

please try v1.4.2

Alwe commented 4 years ago

Works fine now. Thanks a lot.