小编Jos*_*ano的帖子

在 postgres 中创建超级用户

我正在寻找使用 Vagrant 设置 Rails 环境,为此目的,它是通过 bash shell 方法提供的框,其中包括这一行:

sudo -u postgres createuser <superuserusername> -s with password '<superuserpassword>'

但我收到一个配置错误, createuser: too many command-line arguments (first is "with")

你能帮我用正确的语法来创建一个带密码的超级用户吗?谢谢

postgresql ubuntu vagrant

16
推荐指数
4
解决办法
4万
查看次数

在 Android 设备中运行 Expo/React Native

我有一个用 Expo 开发的 React Native 应用程序,当我尝试在连接的 USB 调试成功启用的 Android 设备中运行该应用程序时,扫描二维码工作正常,但它expo start --localhost --android不会在设备中启动该应用程序,尽管它显示了一切没问题:

Successfully ran adb reverse. Localhost URLs should work on the connected Android device.

谢谢它提前。

android react-native expo

7
推荐指数
1
解决办法
3万
查看次数

标签 统计

android ×1

expo ×1

postgresql ×1

react-native ×1

ubuntu ×1

vagrant ×1