{"action":"created","issue":{"url":"https://api.github.com/repos/igorklopov/enclose/issues/73","labels_url":"https://api.github.com/repos/igorklopov/enclose/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/igorklopov/enclose/issues/73/comments","events_url":"https://api.github.com/repos/igorklopov/enclose/issues/73/events","html_url":"https://github.com/igorklopov/enclose/issues/73","id":122991469,"number":73,"title":"Run time error on raspberry pi","user":{"login":"tpaskett","id":6020354,"avatar_url":"https://avatars.githubusercontent.com/u/6020354?v=3","gravatar_id":"","url":"https://api.github.com/users/tpaskett","html_url":"https://github.com/tpaskett","followers_url":"https://api.github.com/users/tpaskett/followers","following_url":"https://api.github.com/users/tpaskett/following{/other_user}","gists_url":"https://api.github.com/users/tpaskett/gists{/gist_id}","starred_url":"https://api.github.com/users/tpaskett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpaskett/subscriptions","organizations_url":"https://api.github.com/users/tpaskett/orgs","repos_url":"https://api.github.com/users/tpaskett/repos","events_url":"https://api.github.com/users/tpaskett/events{/privacy}","received_events_url":"https://api.github.com/users/tpaskett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-18T17:23:18Z","updated_at":"2016-01-04T14:13:50Z","closed_at":null,"body":"I get this error when trying to run enclose on raspberry pi / raspbian / jesse:\r\n\r\n/usr/local/lib/node_modules/enclose/bin/enclose.js:59\r\n  if (!bjs[v]) v = \"v\" + v;\r\n          ^\r\nTypeError: Cannot read property 'default' of undefined\r\n    at get_version_obj (/usr/local/lib/node_modules/enclose/bin/enclose.js:59:11)\r\n    at exec (/usr/local/lib/node_modules/enclose/bin/enclose.js:144:21)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/enclose/bin/enclose.js:269:3)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Function.Module.runMain (module.js:501:10)\r\n    at startup (node.js:129:16)\r\n    at node.js:814:3"},"comment":{"url":"https://api.github.com/repos/igorklopov/enclose/issues/comments/168687392","html_url":"https://github.com/igorklopov/enclose/issues/73#issuecomment-168687392","issue_url":"https://api.github.com/repos/igorklopov/enclose/issues/73","id":168687392,"user":{"login":"serkanp","id":1948290,"avatar_url":"https://avatars.githubusercontent.com/u/1948290?v=3","gravatar_id":"","url":"https://api.github.com/users/serkanp","html_url":"https://github.com/serkanp","followers_url":"https://api.github.com/users/serkanp/followers","following_url":"https://api.github.com/users/serkanp/following{/other_user}","gists_url":"https://api.github.com/users/serkanp/gists{/gist_id}","starred_url":"https://api.github.com/users/serkanp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkanp/subscriptions","organizations_url":"https://api.github.com/users/serkanp/orgs","repos_url":"https://api.github.com/users/serkanp/repos","events_url":"https://api.github.com/users/serkanp/events{/privacy}","received_events_url":"https://api.github.com/users/serkanp/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T14:13:50Z","updated_at":"2016-01-04T14:13:50Z","body":"Are you using raspberry pi b+ ?\nIts armv6, not armv7\nOnly raspberry pi 2 is armv7\nSo, it will not work on armv6 :)\nBut maybe igor can compile armv6 version ..\n\n\nFrom:  hanhealthy <notifications@github.com>\nReply-To:  igorklopov/enclose <reply@reply.github.com>\nDate:  Monday 4 January 2016 15:02\nTo:  igorklopov/enclose <enclose@noreply.github.com>\nSubject:  Re: [enclose] Run time error on raspberry pi (#73)\n\nthanks a lot for your help , eh...,but another stupid question:\n\nhow do I install armv7 version nodejs ? The situation is I have downloaded\narmv7 version binaries, but when I run the \"node\" in bin directory and exec\n\"process.config\", the arm version still show \"6\",  So your enclose still\nnot work. Any ideas?\n\nThanks for your time.\n\nOn Mon, Jan 4, 2016 at 8:17 PM, Igor Klopov <notifications@github.com>\nwrote:\n\n> Node.js has separate installations for armv6 and armv7.\n> https://nodejs.org/en/download/\n>\n> Seems that you downloaded and installed armv6 node (it runs fine on\n> armv7). Please try to install armv7 node.\n>\n> Пользователь hanhealthy <notifications@github.com> писал:\n>\n> >Hi, thanks for your help, I am confirmed that I am using Raspberry Pi2 to\n> >run enclosejs, and\n> >\n> >cat /proc/cpuinfo shows：\n> >\n> >*pi@raspberrypi* *~/nodejs $* cat /proc/cpuinfo\n>\n> >\n> >processor : 0\n> >\n> >model name : ARMv7 Processor rev 5 (v7l)\n> >\n> >BogoMIPS : 38.40\n> >\n> >Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt\n> >vfpd32 lpae evtstrm\n> >\n> >CPU implementer : 0x41\n> >\n> >CPU architecture: 7\n> >\n> >CPU variant : 0x0\n> >\n> >CPU part : 0xc07\n> >\n> >CPU revision : 5\n> >\n> >\n> >processor : 1\n> >\n> >model name : ARMv7 Processor rev 5 (v7l)\n> >\n> >BogoMIPS : 38.40\n> >\n> >Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt\n> >vfpd32 lpae evtstrm\n> >\n> >CPU implementer : 0x41\n> >\n> >CPU architecture: 7\n> >\n> >CPU variant : 0x0\n> >\n> >CPU part : 0xc07\n> >\n> >CPU revision : 5\n> >\n> >\n> >processor : 2\n> >\n> >model name : ARMv7 Processor rev 5 (v7l)\n> >\n> >BogoMIPS : 38.40\n> >\n> >Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt\n> >vfpd32 lpae evtstrm\n> >\n> >CPU implementer : 0x41\n> >\n> >CPU architecture: 7\n> >\n> >CPU variant : 0x0\n> >\n> >CPU part : 0xc07\n> >\n> >CPU revision : 5\n> >\n> >\n> >processor : 3\n> >\n> >model name : ARMv7 Processor rev 5 (v7l)\n> >\n> >BogoMIPS : 38.40\n> >\n> >Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt\n> >vfpd32 lpae evtstrm\n> >\n> >CPU implementer : 0x41\n> >\n> >CPU architecture: 7\n> >\n> >CPU variant : 0x0\n> >\n> >CPU part : 0xc07\n> >\n> >CPU revision : 5\n> >\n> >\n> >Hardware : BCM2709\n> >\n> >Revision : a21041\n> >\n> >Serial : 0000000041e56cb8\n> >\n> >\n> >But, ni node, process.config is :\n> >\n> >\n> >process.config\n> >\n> >{ target_defaults:\n> >\n> >{ cflags: [],\n> >\n> >default_configuration: 'Release',\n> >\n> >defines: [],\n> >\n> >include_dirs: [],\n> >\n> >libraries: [] },\n> >\n> >variables:\n> >\n> >{ arm_float_abi: 'hard',\n> >\n> >arm_fpu: 'vfpv3',\n> >\n> >arm_neon: 0,\n> >\n> >arm_thumb: 0,\n> >\n> >arm_version: '6',\n> >\n> >clang: 0,\n> >\n> >gcc_version: 46,\n> >\n> >host_arch: 'arm',\n> >\n> >icu_small: false,\n> >\n> >node_install_npm: true,\n> >\n> >node_prefix: '',\n> >\n> >node_shared_cares: false,\n> >\n> >node_shared_http_parser: false,\n> >\n> >node_shared_libuv: false,\n> >\n> >node_shared_openssl: false,\n> >\n> >node_shared_v8: false,\n> >\n> >node_shared_zlib: false,\n> >\n> >node_tag: '',\n> >\n> >node_use_dtrace: false,\n> >\n> >node_use_etw: false,\n> >\n> >node_use_mdb: false,\n> >\n> >node_use_openssl: true,\n> >\n> >node_use_perfctr: false,\n> >\n> >openssl_no_asm: 0,\n> >\n> >python: '/usr/bin/python',\n> >\n> >target_arch: 'arm',\n> >\n> >uv_library: 'static_library',\n> >\n> >uv_parent_path: '/deps/uv/',\n> >\n> >uv_use_dtrace: false,\n> >\n> >v8_enable_gdbjit: 0,\n> >\n> >v8_enable_i18n_support: 0,\n> >\n> >v8_no_strict_aliasing: 1,\n> >\n> >v8_optimized_debug: 0,\n> >\n> >v8_random_seed: 0,\n> >\n> >v8_use_snapshot: true,\n> >\n> >want_separate_host_toolset: 0 } }\n> >\n> >\n> >shows is armv6, is that strange?\n> >\n> >\n> >\n> >\n> >On Mon, Jan 4, 2016 at 7:23 PM, Igor Klopov <notifications@github.com>\n> >wrote:\n> >\n> >> Hi. Probably, you both use Raspberry B+ (or earlier edition), that has\n> >> armv6 processor. I do not include armv6 binaries in release because it\n> is\n> >> extremely slow to build using Raspberry (and because i did not buy\n> >> Raspberry B+, only Raspberry 2). It is also rather time-consuming to\n> setup\n> >> cross-compilation. So the only way for me is to buy Raspberry B+ and to\n> >> include armv6 binaries in release. Please confirm you really need old\n> >> Raspberry. Can you use modern Rasbperry 2, that has armv7 processor,\n> >> supported by EncloseJS.\n> >>\n> >> —\n> >> Reply to this email directly or view it on GitHub\n> >> <https://github.com/igorklopov/enclose/issues/73#issuecomment-168651352\n> >.\n> >>\n> >\n> >\n> >\n> >--\n> >祝好！\n> >\n> >Han JianKang\n> >\n> >SenseHuge Co. Limited\n> >\n> >WuXi,JiangSu,China\n> >\n> >—\n> >Reply to this email directly or view it on GitHub.￼\n>\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/igorklopov/enclose/issues/73#issuecomment-168663900>.\n>\n\n\n\n-- \n祝好！Best!\n\nHan JianKang\n\n—\nReply to this email directly or view it on GitHub.\n\n  \n\n"}}