我正在尝试通过 ngrok 公开我的本地服务器。我正在使用 vagrant 在我的本地服务器上运行我的项目,所以,我读到有一个用于 vagrant 和 ngrok 的插件,“vagrant share”。我已经下载了 ngrok,但是当我运行命令 vagrant share 时,结果是这样的:
The executable 'ngrok' Vagrant is trying to run was not found in the PATH variable. The 'ngrok' executable is required to run Vagrant share. If 'ngrok' is currently installed in a non-standard location, append that location to the PATH variable and run this command again.
我已经将 ngrok 放入环境变量中,但它不起作用。
知道如何解决吗?我已经解决这个问题好几天了,但我无法解决它。
最佳答案
您是否尝试过手动安装 vagrant share
插件?
vagrant plugin install vagrant-share
关于windows - 带 Vagrant 的 Ngrok 在 Windows 10 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60013321/