{"action":"opened","issue":{"url":"https://api.github.com/repos/agershun/alasql/issues/687","repository_url":"https://api.github.com/repos/agershun/alasql","labels_url":"https://api.github.com/repos/agershun/alasql/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/agershun/alasql/issues/687/comments","events_url":"https://api.github.com/repos/agershun/alasql/issues/687/events","html_url":"https://github.com/agershun/alasql/issues/687","id":157731823,"number":687,"title":"Meteor 1.3.2.4: __dirname not defined","user":{"login":"diegonc","id":261458,"avatar_url":"https://avatars.githubusercontent.com/u/261458?v=3","gravatar_id":"","url":"https://api.github.com/users/diegonc","html_url":"https://github.com/diegonc","followers_url":"https://api.github.com/users/diegonc/followers","following_url":"https://api.github.com/users/diegonc/following{/other_user}","gists_url":"https://api.github.com/users/diegonc/gists{/gist_id}","starred_url":"https://api.github.com/users/diegonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegonc/subscriptions","organizations_url":"https://api.github.com/users/diegonc/orgs","repos_url":"https://api.github.com/users/diegonc/repos","events_url":"https://api.github.com/users/diegonc/events{/privacy}","received_events_url":"https://api.github.com/users/diegonc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-31T17:54:44Z","updated_at":"2016-05-31T17:54:44Z","closed_at":null,"body":"Hello\r\n\r\nI'm trying to use this package in latest Meteor version but it's complaining that `__dirname` is not defined.\r\n\r\n```\r\n$ meteor --version\r\nMeteor 1.3.2.4\r\n$ meteor create test-alasql\r\n$ cd test-alasql\r\n$ meteor add agershun:alasql\r\n...\r\nagershun:alasql  added, version 0.2.7    \r\n...\r\n$ meteor\r\n[[[[[ ~/develop/scratchpad/test-alasql ]]]]]  \r\n\r\n=> Started proxy.                             \r\n=> Started MongoDB.                           \r\nW20160531-14:43:12.808(-3)? (STDERR)          \r\nW20160531-14:43:12.809(-3)? (STDERR) /home/diego/.meteor/packages/meteor-tool/.1.3.2_4.1xio9ot++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267\r\nW20160531-14:43:12.810(-3)? (STDERR) \t\t\t\t\t\tthrow(ex);\r\nW20160531-14:43:12.810(-3)? (STDERR) \t\t\t\t\t\t      ^\r\nW20160531-14:43:12.810(-3)? (STDERR) ReferenceError: __dirname is not defined\r\nW20160531-14:43:12.810(-3)? (STDERR)     at Object.x.findAlaSQLPath (packages/agershun_alasql/dist/alasql.min.js:9:1)\r\nW20160531-14:43:12.810(-3)? (STDERR)     at undefined.location.reload.undefined.process.browser.function.require.function.require.specified.alasql.worker.e (packages/agershun_alasql/dist/alasql.min.js:9:1)\r\nW20160531-14:43:12.810(-3)? (STDERR)     at packages/agershun_alasql/dist/alasql.min.js:2:1\r\nW20160531-14:43:12.810(-3)? (STDERR)     at Package (packages/agershun_alasql/dist/alasql.min.js:2:1)\r\nW20160531-14:43:12.811(-3)? (STDERR)     at /home/diego/develop/scratchpad/test-alasql/.meteor/local/build/programs/server/packages/agershun_alasql.js:35:4\r\nW20160531-14:43:12.811(-3)? (STDERR)     at /home/diego/develop/scratchpad/test-alasql/.meteor/local/build/programs/server/packages/agershun_alasql.js:42:3\r\nW20160531-14:43:12.811(-3)? (STDERR)     at /home/diego/develop/scratchpad/test-alasql/.meteor/local/build/programs/server/boot.js:283:10\r\nW20160531-14:43:12.811(-3)? (STDERR)     at Array.forEach (native)\r\nW20160531-14:43:12.811(-3)? (STDERR)     at Function._.each._.forEach (/home/diego/.meteor/packages/meteor-tool/.1.3.2_4.1xio9ot++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)\r\nW20160531-14:43:12.811(-3)? (STDERR)     at /home/diego/develop/scratchpad/test-alasql/.meteor/local/build/programs/server/boot.js:133:5\r\n=> Exited with code: 8\r\n```\r\n\r\nIs anyone having the same issue?"}}
{"actor":{"display_login":"diegonc"}}