Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Ionic update failing

$
0
0

@coreelements wrote:

Hi

I had this :

------------------------------------
Ionic CLI is out of date:
 * Locally installed version: 1.7.13
 * Latest version: 1.7.14
 * https://github.com/driftyco/ionic-cli/blob/master/CHANGELOG.md
 * Run npm install -g ionic to update
------------------------------------

So I updated my ionic :

sudo npm install ionic -g

npm WARN install:strip-ansi@1.0.0 ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ionic/node_modules/npm/node_modules/columnify/node_modules/strip-ansi/cli.js'
npm WARN install:mkdirp@0.5.0 ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ionic/node_modules/npm/node_modules/mkdirp/bin/cmd.js'
npm WARN install:nopt@3.0.1 ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ionic/node_modules/npm/node_modules/nopt/bin/nopt.js'
npm WARN install:opener@1.3.0 ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ionic/node_modules/npm/node_modules/opener/opener.js'
npm WARN install:rimraf@2.2.8 ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ionic/node_modules/npm/node_modules/rimraf/bin.js'
npm WARN install:semver@4.0.0 ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ionic/node_modules/npm/node_modules/semver/bin/semver'
npm WARN install:which@1.0.5 ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ionic/node_modules/npm/node_modules/which/bin/which'

> node-sass@3.4.2 install /usr/local/lib/node_modules/ionic/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /usr/local/lib/node_modules/ionic/node_modules/node-sass/vendor/darwin-x64-46/binding.node

> spawn-sync@1.0.15 postinstall /usr/local/lib/node_modules/ionic/node_modules/spawn-sync
> node postinstall


> node-sass@3.4.2 postinstall /usr/local/lib/node_modules/ionic/node_modules/node-sass
> node scripts/build.js

` /usr/local/lib/node_modules/ionic/node_modules/node-sass/vendor/darwin-x64-46/binding.node ` exists.
 testing binary.
Binary is fine; exiting.
/usr/local/lib
└── (empty)

npm WARN EBUNDLEOVERRIDE Replacing bundled ionic > npm with new installed version
npm ERR! code 1

And now I don't have ionic anymore. I've tried to add the missing modules:

 sudo npm install strip-ansi -g
/usr/local/lib
└─┬ strip-ansi@3.0.0
  └── ansi-regex@2.0.0

 sudo npm install mkdirp -g
/usr/local/bin/mkdirp -> /usr/local/lib/node_modules/mkdirp/bin/cmd.js
/usr/local/lib
└─┬ mkdirp@0.5.1
  └── minimist@0.0.8

 sudo npm install nopt -g
/usr/local/bin/nopt -> /usr/local/lib/node_modules/nopt/bin/nopt.js
/usr/local/lib
└─┬ nopt@3.0.6
  └── abbrev@1.0.7

 sudo npm install opener -g
/usr/local/bin/opener -> /usr/local/lib/node_modules/opener/opener.js
/usr/local/lib
└── opener@1.4.1

 sudo npm install rimraf -g
/usr/local/bin/rimraf -> /usr/local/lib/node_modules/rimraf/bin.js
/usr/local/lib
└─┬ rimraf@2.5.2
  └─┬ glob@7.0.0
    ├─┬ inflight@1.0.4
    │ └── wrappy@1.0.1
    ├── inherits@2.0.1
    ├─┬ minimatch@3.0.0
    │ └─┬ brace-expansion@1.1.3
    │   ├── balanced-match@0.3.0
    │   └── concat-map@0.0.1
    ├── once@1.3.3
    └── path-is-absolute@1.0.0

 sudo npm install semver -g
/usr/local/bin/semver -> /usr/local/lib/node_modules/semver/bin/semver
/usr/local/lib
└── semver@5.1.0

 sudo npm install which -g
/usr/local/bin/which -> /usr/local/lib/node_modules/which/bin/which
/usr/local/lib
└─┬ which@1.2.4
  ├─┬ is-absolute@0.1.7
  │ └── is-relative@0.1.3
  └── isexe@1.1.2

But no luck. Any help would be very welcome.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>