{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2953","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2953/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2953/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2953/events","html_url":"https://github.com/NativeScript/NativeScript/issues/2953","id":185011146,"number":2953,"title":"ReferenceError: console is not defined","user":{"login":"Sulman633","id":11000928,"avatar_url":"https://avatars.githubusercontent.com/u/11000928?v=3","gravatar_id":"","url":"https://api.github.com/users/Sulman633","html_url":"https://github.com/Sulman633","followers_url":"https://api.github.com/users/Sulman633/followers","following_url":"https://api.github.com/users/Sulman633/following{/other_user}","gists_url":"https://api.github.com/users/Sulman633/gists{/gist_id}","starred_url":"https://api.github.com/users/Sulman633/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sulman633/subscriptions","organizations_url":"https://api.github.com/users/Sulman633/orgs","repos_url":"https://api.github.com/users/Sulman633/repos","events_url":"https://api.github.com/users/Sulman633/events{/privacy}","received_events_url":"https://api.github.com/users/Sulman633/received_events","type":"User","site_admin":false},"labels":[{"id":203689647,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/T:Question","name":"T:Question","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false},"assignees":[{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-10-25T03:39:20Z","updated_at":"2016-11-03T01:25:01Z","closed_at":null,"body":"Getting this error when I try to run my app on android:\n\njava.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:\n\nError calling module function\n\nError calling module function\n\nError calling module function\n\nReferenceError: console is not defined\nFile: \"/data/data/org.nativescript.nightlivefront/files/app/tns_modules/nativescript-angular/polyfills/console.js, line: 1, column: 65\n\nStackTrace: \nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/tns_modules/nativescript-angular/polyfills/console.js', line: 1, column: 66\nFrame: function:'require', file:'', line: 1, column: 266\nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/tns_modules/nativescript-angular/platform.js', line: 5, column: 1\nFrame: function:'require', file:'', line: 1, column: 266\nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/main.js', line: 3, column: 18\nFrame: function:'require', file:'', line: 1, column: 266\n\nReferenceError: console is not defined\nFile: \"<unknown>, line: 1, column: 265\n\nStackTrace: \nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/tns_modules/nativescript-angular/polyfills/console.js', line: 1, column: 66\nFrame: function:'require', file:'', line: 1, column: 266\nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/tns_modules/nativescript-angular/platform.js', line: 5, column: 1\nFrame: function:'require', file:'', line: 1, column: 266\nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/main.js', line: 3, column: 18\nFrame: function:'require', file:'', line: 1, column: 266\n\nReferenceError: console is not defined\nFile: \"<unknown>, line: 1, column: 265\n\npackage.json:\n![packagejson](https://cloud.githubusercontent.com/assets/11000928/19671956/9df62c54-9a40-11e6-832f-3c9863b19ac0.PNG)\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/258046596","html_url":"https://github.com/NativeScript/NativeScript/issues/2953#issuecomment-258046596","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2953","id":258046596,"user":{"login":"Sulman633","id":11000928,"avatar_url":"https://avatars.githubusercontent.com/u/11000928?v=3","gravatar_id":"","url":"https://api.github.com/users/Sulman633","html_url":"https://github.com/Sulman633","followers_url":"https://api.github.com/users/Sulman633/followers","following_url":"https://api.github.com/users/Sulman633/following{/other_user}","gists_url":"https://api.github.com/users/Sulman633/gists{/gist_id}","starred_url":"https://api.github.com/users/Sulman633/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sulman633/subscriptions","organizations_url":"https://api.github.com/users/Sulman633/orgs","repos_url":"https://api.github.com/users/Sulman633/repos","events_url":"https://api.github.com/users/Sulman633/events{/privacy}","received_events_url":"https://api.github.com/users/Sulman633/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T01:25:01Z","updated_at":"2016-11-03T01:25:01Z","body":"@tsonevn **We seem to be getting somewhere now the error is different!**\r\n\r\njava.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:\r\n\r\nError calling module function\r\n\r\nError: com.tns.NativeScriptException: Failed to find module: \"nativescript-angular/platform\", relative to: /app/tns_modules/\r\n    com.tns.Module.resolvePathHelper(Module.java:220)\r\n    com.tns.Module.resolvePath(Module.java:60)\r\n    com.tns.Runtime.runModule(Native Method)\r\n    com.tns.Runtime.runModule(Runtime.java:244)\r\n    com.tns.Runtime.run(Runtime.java:238)\r\n    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)\r\n    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)\r\n    android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)\r\n    android.app.ActivityThread.-wrap1(ActivityThread.java)\r\n    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)\r\n    android.os.Handler.dispatchMessage(Handler.java:102)\r\n    android.os.Looper.loop(Looper.java:148)\r\n    android.app.ActivityThread.main(ActivityThread.java:5417)\r\n    java.lang.reflect.Method.invoke(Native Method)\r\n    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\nFile: \"<unknown>, line: 1, column: 265\r\n\r\nStackTrace: \r\nFrame: function:'require', file:'', line: 1, column: 266\r\nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/main.js', line: 3, column: 18\r\nFrame: function:'require', file:'', line: 1, column: 266\r\n\r\nError: com.tns.NativeScriptException: Failed to find module: \"nativescript-angular/platform\", relative to: /app/tns_modules/\r\n    com.tns.Module.resolvePathHelper(Module.java:220)\r\n    com.tns.Module.resolvePath(Module.java:60)\r\n    com.tns.Runtime.runModule(Native Method)\r\n    com.tns.Runtime.runModule(Runtime.java:244)\r\n    com.tns.Runtime.run(Runtime.java:238)\r\n    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)\r\n    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)\r\n    android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)\r\n    android.app.ActivityThread.-wrap1(ActivityThread.java)\r\n    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)\r\n    android.os.Handler.dispatchMessage(Handler.java:102)\r\n    android.os.Looper.loop(Looper.java:148)\r\n    android.app.ActivityThread.main(ActivityThread.java:5417)\r\n    java.lang.reflect.Method.invoke(Native Method)\r\n    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\nFile: \"<unknown>, line: 1, column: 265\r\n\r\nStackTrace: \r\nFrame: function:'require', file:'', line: 1, column: 266\r\nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/main.js', line: 3, column: 18\r\nFrame: function:'require', file:'', line: 1, column: 266\r\n\r\nat android.app.ActivityThread.handleBindApplication(ActivityThread.java:4710)\r\nat android.app.ActivityThread.-wrap1(ActivityThread.java)\r\nat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)\r\nat android.os.Handler.dispatchMessage(Handler.java:102)\r\nat android.os.Looper.loop(Looper.java:148)\r\nat android.app.ActivityThread.main(ActivityThread.java:5417)\r\nat java.lang.reflect.Method.invoke(Native Method)\r\nat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\nCaused by: com.tns.NativeScriptException:\r\n\r\nError calling module function\r\n\r\nError: com.tns.NativeScriptException: Failed to find module: \"nativescript-angular/platform\", relative to: /app/tns_modules/\r\n    com.tns.Module.resolvePathHelper(Module.java:220)\r\n    com.tns.Module.resolvePath(Module.java:60)\r\n    com.tns.Runtime.runModule(Native Method)\r\n    com.tns.Runtime.runModule(Runtime.java:244)\r\n    com.tns.Runtime.run(Runtime.java:238)\r\n    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)\r\n    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)\r\n    android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)\r\n    android.app.ActivityThread.-wrap1(ActivityThread.java)\r\n    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)\r\n    android.os.Handler.dispatchMessage(Handler.java:102)\r\n    android.os.Looper.loop(Looper.java:148)\r\n    android.app.ActivityThread.main(ActivityThread.java:5417)\r\n    java.lang.reflect.Method.invoke(Native Method)\r\n    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\nFile: \"<unknown>, line: 1, column: 265\r\n\r\nStackTrace: \r\nFrame: function:'require', file:'', line: 1, column: 266\r\nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/main.js', line: 3, column: 18\r\nFrame: function:'require', file:'', line: 1, column: 266\r\n\r\nError: com.tns.NativeScriptException: Failed to find module: \"nativescript-angular/platform\", relative to: /app/tns_modules/\r\n    com.tns.Module.resolvePathHelper(Module.java:220)\r\n    com.tns.Module.resolvePath(Module.java:60)\r\n    com.tns.Runtime.runModule(Native Method)\r\n    com.tns.Runtime.runModule(Runtime.java:244)\r\n    com.tns.Runtime.run(Runtime.java:238)\r\n    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)\r\n    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)\r\n    android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)\r\n    android.app.ActivityThread.-wrap1(ActivityThread.java)\r\n    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)\r\n    android.os.Handler.dispatchMessage(Handler.java:102)\r\n    android.os.Looper.loop(Looper.java:148)\r\n    android.app.ActivityThread.main(ActivityThread.java:5417)\r\n    java.lang.reflect.Method.invoke(Native Method)\r\n    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\nFile: \"<unknown>, line: 1, column: 265\r\n\r\nStackTrace: \r\nFrame: function:'require', file:'', line: 1, column: 266\r\nFrame: function:'', file:'/data/data/org.nativescript.nightlivefront/files/app/main.js', line: 3, column: 18\r\nFrame: function:'require', file:'', line: 1, column: 266\r\n\r\nat com.tns.Runtime.runModule(Native Method)\r\nat com.tns.Runtime.runModule(Runtime.java:244)\r\nat com.tns.Runtime.run(Runtime.java:238)\r\nat com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17)\r\nat android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)\r\nat android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)\r\n\r\n![packagejson](https://cloud.githubusercontent.com/assets/11000928/19953301/b395392a-a142-11e6-80ac-d2bbbeabadc4.PNG)\r\n"}}
{"actor":{"display_login":"Sulman633"}}