我想尝试在本地运行我的 React Native 应用程序,但针对我的登台和/或生产服务器。我希望通过release-channel在运行时设置一个变量来做到这一点expo start。我希望这可以测试/预示测试版和生产中的一些性能。
我尝试了该命令expo start --release-channel staging,但出现错误error: unknown option '--release-channel'
Constants.manifest.releaseChannel运行 expo start 时如何设置?
poppler我正在尝试在我的 Heroku 服务器上安装,因为我正在使用pdf2imagepython 包。然而,我不能brew install poppler像在 Mac 上那样运行。
我尝试从互联网上添加一些 Heroku 构建包,但没有成功。每当 pdf2image 运行时我都会收到此错误。
pdf2image.exceptions.PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?
Run Code Online (Sandbox Code Playgroud)
我可以在命令行上做些什么来安装 poppler,同时保留 heroku/python 作为我的构建包吗?