Error: Cannot find module 'archiver'


#1

If any of you remember my previous thread, I am having this issue since a long time. I thought it was something isolated and only I am facing it. But a Google search throwed a lot of results including Github issues reported on Ionic as " not all dependencies installed ". But I could not find a solution in any of those reported issues. Any chance I can fix it with your help ?

PS : Using Ubuntu 14.04

Ref : https://github.com/driftyco/ionic-cli/issues/779

Ref 1 : Unable to make Ionic work in Ubuntu 14.04

Ref 2 : A guide to install Ionic 2 in Ubuntu 14.04

This is the full error I get

ionic start myApp1 blank
module.js:327
    throw err;
    ^

Error: Cannot find module 'archiver'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/utils.js:3:16)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)

#2

No one ? :frowning:

I could do with a bit of help on this.


#3

I am sorry to bump. But I could really do with some help.