Closed bpatram closed 6 years ago
Hi, I'll check it asap, thank you
Hi, so actually, the real author of seed functionality is created the seed package, here's the info https://github.com/w3tecch/express-typescript-boilerplate/issues/56#event-1958394344 I encourage you to use it
I see, should I be using typeorm-seeding instead of this library?
Yup I think the real author of this code knows better how to support it :)
Hello, I am unable to run this library because of an import/require error caused because a file that does not exist in the location it is expecting.
Running it causes the following error message:
It seems the code here https://github.com/LogansUA/typeorm-seed-extension/blob/master/src/cli.ts#L12
attempts to import
package.json
. While this appears to work in the source code it seems the packaged library putscli.js
in the root of the package's folder.Manually changing the code I linked to above to be the following fixes the issue :)