我已经安装了Cordova并构建了一个基本应用程序.应用程序在我的Android设备上正常运行.为了使工作更轻松,我试图运行Cordova浏览器平台.我在项目目录中运行了以下命令:
cordova platforms add browser
cordova run browser
Run Code Online (Sandbox Code Playgroud)
第二个命令提供以下输出:
Running command: /home/nitin/cordova_project/random_play/platforms/browser/cordova/run
Run Code Online (Sandbox Code Playgroud)
但是没有启动任何浏览器.我正在使用Ubuntu 14.04,并安装了谷歌浏览器.我也通过运行杀死了所有正在运行的chrome实例
pkill chrome
Run Code Online (Sandbox Code Playgroud)
在运行cordova命令之前.有人可以告诉我如何解决这个问题.谢谢.
Git pull命令工作正常,但git stash发出以下错误:
$git stash
error: unable to resolve reference refs/stash: No such file or directory
fatal: Cannot lock the ref 'refs/stash'.
Cannot save the current status
Run Code Online (Sandbox Code Playgroud)
我如何解决这个问题,以便我不会失去我的变化?