{"action":"opened","issue":{"url":"https://api.github.com/repos/triniwiz/nativescript-sse/issues/9","repository_url":"https://api.github.com/repos/triniwiz/nativescript-sse","labels_url":"https://api.github.com/repos/triniwiz/nativescript-sse/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/triniwiz/nativescript-sse/issues/9/comments","events_url":"https://api.github.com/repos/triniwiz/nativescript-sse/issues/9/events","html_url":"https://github.com/triniwiz/nativescript-sse/issues/9","id":312901321,"number":9,"title":"Demo not working with NativeScript 3.4.3 (and 4.x.x)","user":{"login":"NickIliev","id":18008302,"avatar_url":"https://avatars2.githubusercontent.com/u/18008302?v=4","gravatar_id":"","url":"https://api.github.com/users/NickIliev","html_url":"https://github.com/NickIliev","followers_url":"https://api.github.com/users/NickIliev/followers","following_url":"https://api.github.com/users/NickIliev/following{/other_user}","gists_url":"https://api.github.com/users/NickIliev/gists{/gist_id}","starred_url":"https://api.github.com/users/NickIliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickIliev/subscriptions","organizations_url":"https://api.github.com/users/NickIliev/orgs","repos_url":"https://api.github.com/users/NickIliev/repos","events_url":"https://api.github.com/users/NickIliev/events{/privacy}","received_events_url":"https://api.github.com/users/NickIliev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-10T12:30:21Z","updated_at":"2018-04-10T12:30:21Z","closed_at":null,"author_association":"NONE","body":"When trying the run the demo project with official NativeScript (currently  3.4.3) or with next versions, the demo fails **runtime** on Android and on iOS with\r\n```\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nCycle link found.\r\nUnable to apply changes on device: 00d3e1311075c66f. Error is: Processing node_modules failed. Error: cp: cannot create directory '/Users/niliev/Desktop/repositories/nativescript-sse/demo/platforms/android/app/src/main/assets/app/tns_modules': No such file or directory.\r\nExecuting after-watch hook from /Users/niliev/Desktop/repositories/nativescript-sse/demo/hooks/after-watch/nativescript-dev-typescript.js\r\n```\r\nSteps to reproduce:\r\n```\r\ngit clone https://github.com/triniwiz/nativescript-sse\r\nnpm i \r\ntsc\r\ncd demo\r\ntns run ios | android\r\n```\r\nWhile using the following `package.json` for the demo project:\r\n```JSON\r\n{\r\n  \"nativescript\": {\r\n    \"id\": \"org.nativescript.demo\",\r\n    \"tns-android\": {\r\n      \"version\": \"3.4.2\"\r\n    },\r\n    \"tns-ios\": {\r\n      \"version\": \"3.4.1\"\r\n    }\r\n  },\r\n  \"dependencies\": {\r\n    \"nativescript-sse\": \"file:..\",\r\n    \"tns-core-modules\": \"^3.4.1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-traverse\": \"6.7.6\",\r\n    \"babel-types\": \"6.7.7\",\r\n    \"babylon\": \"6.7.0\",\r\n    \"filewalker\": \"0.1.2\",\r\n    \"lazy\": \"1.0.11\",\r\n    \"nativescript-dev-typescript\": \"^0.6.0\",\r\n    \"tns-platform-declarations\": \"^3.4.1\",\r\n    \"typescript\": \"~2.4.2\"\r\n  }\r\n}\r\n```\r\n\r\n\r\nSame happens with the upcoming next versions\r\n```\r\n{\r\n  \"nativescript\": {\r\n    \"id\": \"org.nativescript.demo\",\r\n    \"tns-android\": {\r\n      \"version\": \"4.0.0-rc-2018.4.2.1\"\r\n    },\r\n    \"tns-ios\": {\r\n      \"version\": \"4.0.1-rc-2018-04-05-01\"\r\n    }\r\n  },\r\n  \"dependencies\": {\r\n    \"nativescript-sse\": \"file:..\",\r\n    \"tns-core-modules\": \"^4.0.0-2018-04-10-01\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-traverse\": \"6.7.6\",\r\n    \"babel-types\": \"6.7.7\",\r\n    \"babylon\": \"6.7.0\",\r\n    \"filewalker\": \"0.1.2\",\r\n    \"lazy\": \"1.0.11\",\r\n    \"nativescript-dev-typescript\": \"^0.6.0\",\r\n    \"tns-platform-declarations\": \"^3.4.1\",\r\n    \"typescript\": \"~2.4.2\"\r\n  }\r\n}\r\n\r\n```"}}
{"actor":{"display_login":"NickIliev"}}