试着跑 heroku run knex migrate:latest 在heroku上设置数据库,使用node和pg,我得到以下错误 Error: ENOENT: no such file or directorymigrate:rollback && knex migrate:latest && knex seed:run) && NODE_ENV=test jest --verbose --watch","start": &
我正在尝试使用Jest和Knex测试GraphQL服务器。我费了好大劲才弄明白如何在typescript中使用knexfile。但是现在,除了测试之外,所有的开发和生产环境都运行良好。does not work, causes `client` missing problem */这是Jest().then(() => knex.migrate.latest