{"action":"opened","issue":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/339","repository_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push","labels_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/339/comments","events_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/339/events","html_url":"https://github.com/nordnet/cordova-hot-code-push/issues/339","id":308747508,"number":339,"title":"node@8 and cordova@8 not working","user":{"login":"ryanmtaylor","id":1598239,"avatar_url":"https://avatars3.githubusercontent.com/u/1598239?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanmtaylor","html_url":"https://github.com/ryanmtaylor","followers_url":"https://api.github.com/users/ryanmtaylor/followers","following_url":"https://api.github.com/users/ryanmtaylor/following{/other_user}","gists_url":"https://api.github.com/users/ryanmtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanmtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanmtaylor/subscriptions","organizations_url":"https://api.github.com/users/ryanmtaylor/orgs","repos_url":"https://api.github.com/users/ryanmtaylor/repos","events_url":"https://api.github.com/users/ryanmtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/ryanmtaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T21:48:09Z","updated_at":"2018-03-26T21:48:09Z","closed_at":null,"author_association":"NONE","body":"##### Problem\r\n\r\nI cannot get this plugin to push code and refresh the page even by copying and pasting the directions on the homepage and wiki.\r\n\r\n##### Steps to reproduce\r\n\r\n```\r\nryan@device007 ~/Work/SANDBOX 👻  cordova create TestProject com.example.testproject.ryanmtaylor TestProject\r\nCreating a new cordova project.\r\nryan@device007 ~/Work/SANDBOX 👻  cd ./TestProject\r\nryan@device007 ~/Work/SANDBOX/TestProject 👻  cordova platform add ios\r\nUsing cordova-fetch for cordova-ios@~4.5.4\r\nAdding ios project...\r\nCreating Cordova project for the iOS platform:\r\n\tPath: platforms/ios\r\n\tPackage: com.example.testproject.ryanmtaylor\r\n\tName: TestProject\r\niOS project created with cordova-ios@4.5.4\r\nDiscovered plugin \"cordova-plugin-whitelist\" in config.xml. Adding it to the project\r\nInstalling \"cordova-plugin-whitelist\" for ios\r\nAdding cordova-plugin-whitelist to package.json\r\nSaved plugin info for \"cordova-plugin-whitelist\" to config.xml\r\n--save flag or autosave detected\r\nSaving ios@~4.5.4 into config.xml file ...\r\nryan@device007 ~/Work/SANDBOX/TestProject 👻  cordova plugin add cordova-hot-code-push-plugin\r\nInstalling \"cordova-hot-code-push-plugin\" for ios\r\nInstalling dependency packages: \r\n{\r\n  \"xml2js\": \"^0.4\"\r\n}\r\nChecking cordova-hcp CLI client...\r\nAdding cordova-hot-code-push-plugin to package.json\r\nSaved plugin info for \"cordova-hot-code-push-plugin\" to config.xml\r\nryan@device007 ~/Work/SANDBOX/TestProject 👻  cordova-hcp server\r\nRunning server\r\nChecking:  /Users/ryan/Work/SANDBOX/TestProject/www\r\nlocal_url http://localhost:31284\r\nBuild 2018.03.26-17.41.45 created in /Users/ryan/Work/SANDBOX/TestProject/www\r\ncordova-hcp local server available at: http://localhost:31284\r\ncordova-hcp public server available at: https://3293e8d9.ngrok.io\r\nFile changed:  /Users/ryan/Work/SANDBOX/TestProject/www/index.html\r\nBuild 2018.03.26-17.42.51 created in /Users/ryan/Work/SANDBOX/TestProject/www\r\nShould trigger reload for build: 2018.03.26-17.42.51\r\n(etc.)\r\nFile changed:  /Users/ryan/Work/SANDBOX/TestProject/www/index.html\r\nBuild 2018.03.26-17.43.01 created in /Users/ryan/Work/SANDBOX/TestProject/www\r\nShould trigger reload for build: 2018.03.26-17.43.01\r\nFile changed:  /Users/ryan/Work/SANDBOX/TestProject/www/index.html\r\nBuild 2018.03.26-17.44.01 created in /Users/ryan/Work/SANDBOX/TestProject/www\r\nShould trigger reload for build: 2018.03.26-17.44.01\r\n```\r\n\r\nI run `cordova run` to run ios version in a simulator and it builds successfully.  I also changed the `config.xml` file to point to the the correct ngrok.\r\n\r\n##### System info\r\n\r\n```\r\nCollecting Data...\r\n\r\n\r\nNode version: v8.10.0\r\n\r\nCordova version: 8.0.0\r\n\r\nConfig.xml file: \r\n\r\n<?xml version='1.0' encoding='utf-8'?>\r\n<widget id=\"com.example.testproject.ryanmtaylor\" version=\"1.0.0\" xmlns=\"http://www.w3.org/ns/widgets\" xmlns:cdv=\"http://cordova.apache.org/ns/1.0\">\r\n    <name>TestProject</name>\r\n    <description>\r\n        A sample Apache Cordova application that responds to the deviceready event.\r\n    </description>\r\n    <author email=\"dev@cordova.apache.org\" href=\"http://cordova.io\">\r\n        Apache Cordova Team\r\n    </author>\r\n    <content src=\"index.html\" />\r\n    <plugin name=\"cordova-plugin-whitelist\" spec=\"1\" />\r\n    <access origin=\"*\" />\r\n    <allow-intent href=\"http://*/*\" />\r\n    <allow-intent href=\"https://*/*\" />\r\n    <allow-intent href=\"tel:*\" />\r\n    <allow-intent href=\"sms:*\" />\r\n    <allow-intent href=\"mailto:*\" />\r\n    <allow-intent href=\"geo:*\" />\r\n    <platform name=\"android\">\r\n        <allow-intent href=\"market:*\" />\r\n    </platform>\r\n    <platform name=\"ios\">\r\n        <allow-intent href=\"itms:*\" />\r\n        <allow-intent href=\"itms-apps:*\" />\r\n    </platform>\r\n    <plugin name=\"cordova-hot-code-push-plugin\" spec=\"^1.5.3\" />\r\n    <chcp>\r\n        <config-file url=\"https://3293e8d9.ngrok.io/chcp.json\" />\r\n    </chcp>\r\n    <engine name=\"ios\" spec=\"^4.5.4\" />\r\n</widget>\r\n\r\n\r\nPlugins: \r\n\r\ncordova-hot-code-push-plugin,cordova-plugin-whitelist\r\n\r\niOS platform:\r\n\r\nXcode 9.2\r\nBuild version 9C40b\r\n```\r\n"}}
{"actor":{"display_login":"ryanmtaylor"}}