windows phone 的离子应用程序
Ionic application for windows phone
我正在使用 ionic framework.I 开发应用程序 android 和 ios.Now 我正在为 windows phone 成功开发应用程序:
当我使用以下方式添加平台时:
ionic platform add wp8
我收到错误
module.js:338
throw err;
^
Error: Cannot find module 'Q'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/lib/create.js:20:13)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
Error: /home/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/create: Command failed with exit code 1
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
我正在使用 ubuntu 操作系统 system.This 适用于 windows 操作系统
首先检查项目的可用平台以添加为 ionic platform ls
我正在使用 ionic framework.I 开发应用程序 android 和 ios.Now 我正在为 windows phone 成功开发应用程序: 当我使用以下方式添加平台时:
ionic platform add wp8
我收到错误
module.js:338
throw err;
^
Error: Cannot find module 'Q'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/lib/create.js:20:13)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
Error: /home/.cordova/lib/npm_cache/cordova-wp8/3.8.1/package/bin/create: Command failed with exit code 1
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
我正在使用 ubuntu 操作系统 system.This 适用于 windows 操作系统
首先检查项目的可用平台以添加为 ionic platform ls