{"action":"created","issue":{"url":"https://api.github.com/repos/google/tracing-framework/issues/533","labels_url":"https://api.github.com/repos/google/tracing-framework/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/google/tracing-framework/issues/533/comments","events_url":"https://api.github.com/repos/google/tracing-framework/issues/533/events","html_url":"https://github.com/google/tracing-framework/issues/533","id":92105954,"number":533,"title":"ReferenceError: require is not defined","user":{"login":"Spy-Seth","id":95120,"avatar_url":"https://avatars.githubusercontent.com/u/95120?v=3","gravatar_id":"","url":"https://api.github.com/users/Spy-Seth","html_url":"https://github.com/Spy-Seth","followers_url":"https://api.github.com/users/Spy-Seth/followers","following_url":"https://api.github.com/users/Spy-Seth/following{/other_user}","gists_url":"https://api.github.com/users/Spy-Seth/gists{/gist_id}","starred_url":"https://api.github.com/users/Spy-Seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spy-Seth/subscriptions","organizations_url":"https://api.github.com/users/Spy-Seth/orgs","repos_url":"https://api.github.com/users/Spy-Seth/repos","events_url":"https://api.github.com/users/Spy-Seth/events{/privacy}","received_events_url":"https://api.github.com/users/Spy-Seth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-30T14:14:43Z","updated_at":"2015-07-11T09:37:51Z","closed_at":null,"body":"I'm trying to use WTF to trace my application server. I get a surprising error: `ReferenceError: require is not defined`\r\n\r\n```\r\n$ wtf-trace server.js\r\n/Users/spy-seth/workspace/web.client.vlr/server.js:3\r\nvar newrelic = require('newrelic');\r\n               ^\r\nReferenceError: require is not defined\r\n    at /Users/spy-seth/workspace/web.client.vlr/server.js:3:16\r\n    at Object.exports.runInThisContext (vm.js:74:17)\r\n    at Object.<anonymous> (/Users/spy-seth/.nvm/versions/node/v0.12.4/lib/node_modules/tracing-framework/bin/trace-runner.js:66:4)\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\r\n```\r\n\r\nserver.js\r\n```javascript\r\n'use strict';\r\n\r\nvar newrelic = require('newrelic');\r\n```"},"comment":{"url":"https://api.github.com/repos/google/tracing-framework/issues/comments/120599119","html_url":"https://github.com/google/tracing-framework/issues/533#issuecomment-120599119","issue_url":"https://api.github.com/repos/google/tracing-framework/issues/533","id":120599119,"user":{"login":"Spy-Seth","id":95120,"avatar_url":"https://avatars.githubusercontent.com/u/95120?v=3","gravatar_id":"","url":"https://api.github.com/users/Spy-Seth","html_url":"https://github.com/Spy-Seth","followers_url":"https://api.github.com/users/Spy-Seth/followers","following_url":"https://api.github.com/users/Spy-Seth/following{/other_user}","gists_url":"https://api.github.com/users/Spy-Seth/gists{/gist_id}","starred_url":"https://api.github.com/users/Spy-Seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spy-Seth/subscriptions","organizations_url":"https://api.github.com/users/Spy-Seth/orgs","repos_url":"https://api.github.com/users/Spy-Seth/repos","events_url":"https://api.github.com/users/Spy-Seth/events{/privacy}","received_events_url":"https://api.github.com/users/Spy-Seth/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T09:37:51Z","updated_at":"2015-07-11T09:37:51Z","body":"ha it's was I do. Just a typo error in the comment."}}