I have installed Cordova and built a basic app. The application is running fine in my android device. To make work easier, I was trying to run the Cordova browser platform. I ran the following commands in my project directory:
cordova platforms add browser
cordova run browser
The second command gives the following output:
Running command: /home/nitin/cordova_project/random_play/platforms/browser/cordova/run
but doesn't start any browser. I am using Ubuntu 14.04, and have google chrome installed. I, also killed all the running instances of chrome by running
pkill chrome
before running the cordova command. Could someone please tell me how I can fix this problem. Thank you.
Code:
case 'linux':
spawn('google-chrome', ['--test-type', '--disable-web-security', '--user-data-dir=/tmp/temp_chrome_user_data_dir_for_cordova_browser', project]);
break;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With