javascript - Ionic application for windows phone -
i developing app using ionic framework.i have successful developed app android , ios.now going windows phone: when add platform using:
ionic platform add wp8
i got error
module.js:338 throw err; ^ error: cannot find module 'q' @ function.module._resolvefilename (module.js:336:15) @ function.module._load (module.js:278:25) @ module.require (module.js:365:17) @ require (module.js:384:17) @ object.<anonymous> (/home/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/lib/create.js:20:13) @ module._compile (module.js:460:26) @ object.module._extensions..js (module.js:478:10) @ module.load (module.js:355:32) @ function.module._load (module.js:310:12) @ module.require (module.js:365:17) error: /home/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/create: command failed exit code 1 @ childprocess.whendone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23) @ childprocess.emit (events.js:110:17) @ maybeclose (child_process.js:1015:16) @ process.childprocess._handle.onexit (child_process.js:1087:5)
i using ubuntu opreating system.this works windows opreating system
first check available platform's project add ionic platform ls
Comments
Post a Comment