It's possible to use ionic-cli 3.0.0 without typescript and angular?

923 Views Asked by At

I just want to use ionic livereload provided by ionic serve, but just using vanilla javascript without typescript or angular things. If it's possible, how can I achieve that? Until now, I only have errors like:

[ERROR] Error occurred while loading plugins. CLI functionality may be limited.
        Checking for CLI updates now...
[ERROR] No updates found after plugin error--please report this issue.

My ionic info returns the same error above plus:

global packages:

    @ionic/cli-utils : 1.0.0
    Ionic CLI        : 3.0.0

System:

    Node       : v7.10.0
    OS         : Linux 4.10
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed
2

There are 2 best solutions below

0
On

$ npm install -g cordova $ npm install --save-dev --save-exact @ionic/cli-plugin-cordova@latest

Run Both commands. It solved my same issue. If you have proxy url install that too.

0
On

I faced the same problem and I'm solved it by remove folder 'node_modules' and run command
npm install