Ionic browser list -> browser is not a valid task? - SOLVED


#1

Dear all, I have run the sudo ionic browser list but it does the following outputs
_ _
() ()


| |/ _ | '_ | |/ |
| | (_) | | | | | (

||___/|| |||___| CLI v2.1.18

Usage: ionic task args

=======================
browser is not a valid task …

My ionic info is…
sudo ionic info

Your system information:

Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
ios-deploy version: 1.9.0
ios-sim version: 5.0.11
OS: macOS Sierra
Node Version: v6.3.1
Xcode version: Xcode 8.1 Build version 8B62

and also I have add the cordova-plugin-crosswalk-webview

sudo ionic plugin add cordova-plugin-crosswalk-webview
Plugin “cordova-plugin-crosswalk-webview” already installed on android.

Plugin “cordova-plugin-crosswalk-webview” already installed on browser.

Plugin “cordova-plugin-crosswalk-webview” already installed on ios.

Is there any thing I should check or install?

Thank you very much.


#2

And what exactly do you want to reach with that command?


#3

Actually I want to install the crosswalk (ionic browser add crosswalk) after the browser list (ionic browser list). (http://ionicframework.com/docs/cli/browsers.html)
But it always output ‘browser is not a valid task’. I really have no idea what can I do?


#4

According to this forumpost, check the 2nd reply, that command has been deprecated.
(How to use crosswalk ONLY for android)


#5

This is very helpful and I solve my problems, thank you.


#6

Just one thing: can you mark the thread as solved? This will help people in the future that encounter this issue


#7

of course, I will mark this issue is resolved.