当我负责移民的时候。我看到了这个问题。基本上,我正在尝试实现create_photos_table。
cp .env.example .env.jest和yarn test --passWithNoTests发布于 2022-06-21 17:15:52
从react本机-config的文档中可以看出,Knex可能在这里使用:
$ ENVFILE=.env.staging react-native run-ios # bash
$ SET ENVFILE=.env.staging && react-native run-ios # windows
$ env:ENVFILE=".env.staging"; react-native run-ios # powershell因此,在您的示例中,您需要在Windows上使用SET ENVFILE=.env而不是ENVFILE=.env。
https://stackoverflow.com/questions/72457711
复制相似问题