When I run the migrations. I see this issue. Basically, I'm trying to implement the create_photos_table.
cp .env.example .env.jest
and yarn test --passWithNoTests
from the documentation of react-native-config which is what Knex is probably using here:
$ 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
So in your case, you will need to use SET ENVFILE=.env
on Windows instead of ENVFILE=.env
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.