[英]'appium' is not recognized as an internal or external command, operable program or batch file
[英]'ENVFILE' is not recognized as an internal or external command, operable program or batch file
当我运行迁移时。 我看到了这个问题。 基本上,我正在尝试实现 create_photos_table。
cp .env.example .env.jest
和yarn test --passWithNoTests
来自react-native-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
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.