@richardshergold wrote:
Should this be working in Ionic 2 ?
If I run
ionic resources
I get the error:
TypeError: Cannot read property 'then' of undefined
at Object.run (/Users/richardshergold/.npm-packages/lib/node_modules/ionic/lib/cli.js:135:14)
at Object. (/Users/richardshergold/.npm-packages/lib/node_modules/ionic/bin/ionic:9:10)
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 Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3Cannot read property 'then' of undefined (CLI v2.0.0-alpha.23)
Your system information:
Cordova CLI: 5.4.0
Gulp version: CLI version 3.9.0
Gulp local:
Ionic Version: 2.0.0-alpha.34
Ionic CLI Version: 2.0.0-alpha.23
Ionic App Lib Version: 2.0.0-alpha.22
ios-deploy version: 1.8.2
ios-sim version: 5.0.3
OS: Mac OS X Yosemite
Node Version: v0.12.4
Xcode version: Xcode 7.1.1 Build version 7B1005I also get this error if I run
ionic info
Posts: 4
Participants: 3