{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1044","repository_url":"https://api.github.com/repos/driftyco/ionic-cli","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1044/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1044/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1044/events","html_url":"https://github.com/driftyco/ionic-cli/issues/1044","id":158745498,"number":1044,"title":"blank screen when ionic-plugin-deploy is installed in \"ionic<2-initialised\" deploy-tutorial","user":{"login":"dasilvacontin","id":1260830,"avatar_url":"https://avatars.githubusercontent.com/u/1260830?v=3","gravatar_id":"","url":"https://api.github.com/users/dasilvacontin","html_url":"https://github.com/dasilvacontin","followers_url":"https://api.github.com/users/dasilvacontin/followers","following_url":"https://api.github.com/users/dasilvacontin/following{/other_user}","gists_url":"https://api.github.com/users/dasilvacontin/gists{/gist_id}","starred_url":"https://api.github.com/users/dasilvacontin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasilvacontin/subscriptions","organizations_url":"https://api.github.com/users/dasilvacontin/orgs","repos_url":"https://api.github.com/users/dasilvacontin/repos","events_url":"https://api.github.com/users/dasilvacontin/events{/privacy}","received_events_url":"https://api.github.com/users/dasilvacontin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-06T18:40:49Z","updated_at":"2016-06-06T19:43:02Z","closed_at":"2016-06-06T18:44:24Z","body":"Thing to note is, when `deploy-tutorial` is initialised using `ionic@2.0.0-beta` (though later downgraded due to plugin install bug), it no longer gets the following warning (which I do get when tutorial is initialised using `ionic@1.7.15`:\r\n\r\n`Using this version of Cordova with older version of cordova-ios is being deprecated. Consider upgrading to cordova-ios@4.0.0 or newer.`\r\n\r\nCould be the cause of the blank screen, but not sure.\r\n\r\n## using ionic v1.x.x. Emulator / physical screen is blank.\r\n\r\n<img width=\"200\" alt=\"screenshot 2016-06-06 20 21 09\" src=\"https://cloud.githubusercontent.com/assets/1260830/15833367/d1ebffda-2c26-11e6-9b02-0b408910cab6.png\">\r\n\r\n```bash\r\n➜  deploy-tutorial ionic -v\r\n1.7.15\r\n➜  temp ionic start deploy-tutorial tabs\r\n ✗ (node:38531) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\nCreating Ionic app in folder /Users/dasilvacontin/temp/deploy-tutorial based on tabs project\r\nDownloading: https://github.com/driftyco/ionic-app-base/archive/master.zip\r\n[=============================]  100%  0.0s\r\nDownloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip\r\n[=============================]  100%  0.0s\r\nUpdated the hooks directory to have execute permissions\r\nUpdate Config.xml\r\nInitializing cordova project\r\n\r\nionic io init\r\nAdding in iOS application by default\r\n ✗ (node:38531) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n➜  temp cd deploy-tutorial\r\nionic io init\r\n➜  deploy-tutorial ionic io init\r\nInitializing app with ionic.io....\r\nSaved app_id, writing to ionic.io.bundle.min.js...\r\nSaved api_key, writing to ionic.io.bundle.min.js...\r\n➜  deploy-tutorial ionic add ionic-platform-web-client\r\n ✗ (node:43094) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\nBower component installed - ionic-platform-web-client\r\nAdding component to index.html\r\nInjecting ionic.service.core into app.js\r\nSaved dev_push, writing to ionic.io.bundle.min.js...\r\n➜  deploy-tutorial ionic plugin add ionic-plugin-deploy\r\n ✗ (node:43335) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\nUpdated the hooks directory to have execute permissions\r\nFetching plugin \"ionic-plugin-deploy\" via npm\r\nInstalling \"ionic-plugin-deploy\" for ios\r\n Using this version of Cordova with older version of cordova-ios is being deprecated. Consider upgrading to cordova-ios@4.0.0 or newer.\r\nSaving plugin to package.json file\r\n➜  deploy-tutorial ionic emulate ios\r\n\"blank screen, unusable\"\r\n```\r\nvs\r\n\r\n## using ionic v2.x.x\r\n\r\n> works, though downgrade was needed due to already fixed bug\r\n\r\n<img width=\"200\" alt=\"screenshot 2016-06-06 20 35 00\" src=\"https://cloud.githubusercontent.com/assets/1260830/15833371/d853b1ce-2c26-11e6-89c7-c656e3f42969.png\">\r\n```bash\r\n➜  temp npm i -g ionic@beta\r\n\"lots of stuff\"\r\n└─┬ ionic@2.0.0-beta.29\r\n\"lots of stuff\"\r\n➜  temp ionic start deploy-tutorial tabs\r\nCreating Ionic app in folder /Users/dasilvacontin/temp/deploy-tutorial based on tabs project\r\nDownloading: https://github.com/driftyco/ionic-app-base/archive/master.zip\r\n[=============================]  100%  0.0s\r\nDownloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip\r\n[=============================]  100%  0.0s\r\nInstalling npm packages...\r\n\r\nAdding initial native plugins\r\n[=============================]  100%  0.0s\r\n\r\nAdding in iOS application by default\r\n\r\nadd to body class: platform-ios\r\nDownloading: https://github.com/driftyco/ionic-default-resources/archive/master.zip\r\n[=============================]  100%  0.0s\r\nSaving your Ionic app state of platforms and plugins\r\nSaved platform\r\nSaved plugins\r\nSaved package.json\r\n\r\n♬ ♫ ♬ ♫  Your Ionic app is ready to go! ♬ ♫ ♬ ♫\r\n\r\nMake sure to cd into your new app directory:\r\n  cd deploy-tutorial\r\n\r\nTo run your app in the browser (great for initial development):\r\n  ionic serve\r\n\r\nTo run on iOS:\r\n  ionic run ios\r\n\r\nTo run on Android:\r\n  ionic run android\r\n\r\nTo test your app on a device easily, try Ionic View:\r\n  http://view.ionic.io\r\n\r\nNew! Add push notifications, live app updates, and more with Ionic Platform!\r\n  https://apps.ionic.io/signup\r\n\r\n➜  temp cd deploy-tutorial\r\nionic io init\r\n➜  deploy-tutorial ionic io init\r\n(node:51902) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\nInitializing app with ionic.io....\r\nSaved app_id, writing to ionic.io.bundle.min.js...\r\nSaved api_key, writing to ionic.io.bundle.min.js...\r\n➜  deploy-tutorial ionic add ionic-platform-web-client\r\n(node:52912) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\nCaught exception:\r\n TypeError: Cannot read property 'indexOf' of undefined\r\n    at Object.checkForBower (/Users/dasilvacontin/.nvm/versions/node/v6.0.0/lib/node_modules/ionic/lib/utils/bower.js:52:20)\r\n    at Object.run (/Users/dasilvacontin/.nvm/versions/node/v6.0.0/lib/node_modules/ionic/lib/ionic/add.js:48:14)\r\n    at Promise.apply (/Users/dasilvacontin/.nvm/versions/node/v6.0.0/lib/node_modules/ionic/node_modules/q/q.js:1078:26)\r\n    at Promise.promise.promiseDispatch (/Users/dasilvacontin/.nvm/versions/node/v6.0.0/lib/node_modules/ionic/node_modules/q/q.js:741:41)\r\n    at /Users/dasilvacontin/.nvm/versions/node/v6.0.0/lib/node_modules/ionic/node_modules/q/q.js:1304:14\r\n    at flush (/Users/dasilvacontin/.nvm/versions/node/v6.0.0/lib/node_modules/ionic/node_modules/q/q.js:108:17)\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n    at Function.Module.runMain (module.js:577:11)\r\n    at startup (node.js:159:18)\r\n\r\nMind letting us know? https://github.com/driftyco/ionic-cli/issues\r\n➜  deploy-tutorial npm i -g ionic\r\n\"lots of stuff\"\r\n└─┬ ionic@1.7.15\r\n\"lots of stuff\"\r\n➜  deploy-tutorial ionic add ionic-platform-web-client\r\n ✗ (node:61132) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\nBower component installed - ionic-platform-web-client\r\nInjecting ionic.service.core into app.js\r\nAdding component to index.html\r\nSaved dev_push, writing to ionic.io.bundle.min.js...\r\n➜  deploy-tutorial ionic plugin add ionic-plugin-deploy\r\n ✗ (node:61914) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\nUpdated the hooks directory to have execute permissions\r\nFetching plugin \"ionic-plugin-deploy\" via npm\r\nInstalling \"ionic-plugin-deploy\" for ios\r\ncp: no such file or directory: /Users/dasilvacontin/temp/deploy-tutorial/resources/ios/icon/icon-40@3x.png\r\n\r\ncp: no such file or directory: /Users/dasilvacontin/temp/deploy-tutorial/resources/ios/icon/icon-83.5@2x.png\r\n\r\nSaving plugin to package.json file\r\n➜  deploy-tutorial ionic plugin add ionic-plugin-deploy\r\n\"app is actually running, looks fine\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/224065927","html_url":"https://github.com/driftyco/ionic-cli/issues/1044#issuecomment-224065927","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1044","id":224065927,"user":{"login":"dasilvacontin","id":1260830,"avatar_url":"https://avatars.githubusercontent.com/u/1260830?v=3","gravatar_id":"","url":"https://api.github.com/users/dasilvacontin","html_url":"https://github.com/dasilvacontin","followers_url":"https://api.github.com/users/dasilvacontin/followers","following_url":"https://api.github.com/users/dasilvacontin/following{/other_user}","gists_url":"https://api.github.com/users/dasilvacontin/gists{/gist_id}","starred_url":"https://api.github.com/users/dasilvacontin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasilvacontin/subscriptions","organizations_url":"https://api.github.com/users/dasilvacontin/orgs","repos_url":"https://api.github.com/users/dasilvacontin/repos","events_url":"https://api.github.com/users/dasilvacontin/events{/privacy}","received_events_url":"https://api.github.com/users/dasilvacontin/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T19:43:02Z","updated_at":"2016-06-06T19:43:02Z","body":"The log when using `ionic@2.x.x` (which does not get a blank screen) is there for pointing out that the following warning **does not appear**, whereas it does appear when setting it up using `ionic@1.x.x`:\r\n\r\n> Using this version of Cordova with older version of cordova-ios is being deprecated. Consider upgrading to cordova-ios@4.0.0 or newer."}}
{"actor":{"display_login":"dasilvacontin"}}