Open roycechua opened 9 months ago
Unable to do do knex migration on initial generated template with knex. Running npm run migrate produced an error
npm run migrate
knex: 2.2.0 ts-node: 10.9.1 typescript: 4.7.4
npm install
Migration should happen without any errors like this
From the generation of the template (using knex) On running the command npm run migrate, I encountered this error
I identified the fix for this but encountered another error on the migration
So there are really 2 problems, and here is a PR I made if you want to consider my small fix
Might be related to how knex and TS in terms of handling exports
Describe the Bug (버그 설명)
Unable to do do knex migration on initial generated template with knex. Running
npm run migrate
produced an errorVersion to Reproduce (현재 사용한 버전)
Steps to Reproduce (재현 순서)
npm install
(if node_modules hasn't been installed already)npm run migrate
Expected Behavior (예상 동작)
Migration should happen without any errors like this
Actual Behavior (실제 동작)
From the generation of the template (using knex) On running the command
npm run migrate
, I encountered this errorI identified the fix for this but encountered another error on the migration
So there are really 2 problems, and here is a PR I made if you want to consider my small fix
Additional Context (추가 사항)
Might be related to how knex and TS in terms of handling exports