Cannot find xmlbuilder when creating ionic project (Fedora 23)

asked 2016-03-11 11:21:43 -0500

robbnesp gravatar image

I already installed nodejs, npm and package (cordova + ionic) but when I tried to create project ..it throw error information :

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

Error: Cannot find module 'xmlbuilder'
    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/lib/node_modules/ionic/node_modules/xml2js/lib/xml2js.js:12:13)
    at Object.<anonymous> (/usr/lib/node_modules/ionic/node_modules/xml2js/lib/xml2js.js:436:4)
    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)
edit retag flag offensive close merge delete