{"action":"created","issue":{"url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/568","labels_url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/568/comments","events_url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/568/events","html_url":"https://github.com/zeroclipboard/zeroclipboard/issues/568","id":68989013,"number":568,"title":"Can't require() zeroclipboard","user":{"login":"DelvarWorld","id":79215,"avatar_url":"https://avatars.githubusercontent.com/u/79215?v=3","gravatar_id":"","url":"https://api.github.com/users/DelvarWorld","html_url":"https://github.com/DelvarWorld","followers_url":"https://api.github.com/users/DelvarWorld/followers","following_url":"https://api.github.com/users/DelvarWorld/following{/other_user}","gists_url":"https://api.github.com/users/DelvarWorld/gists{/gist_id}","starred_url":"https://api.github.com/users/DelvarWorld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DelvarWorld/subscriptions","organizations_url":"https://api.github.com/users/DelvarWorld/orgs","repos_url":"https://api.github.com/users/DelvarWorld/repos","events_url":"https://api.github.com/users/DelvarWorld/events{/privacy}","received_events_url":"https://api.github.com/users/DelvarWorld/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/labels/module%20loaders","name":"module loaders","color":"fb00ff"},{"url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/labels/more%20info%20required","name":"more info required","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/milestones/6","html_url":"https://github.com/zeroclipboard/zeroclipboard/milestones/Future%20Release","labels_url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/milestones/6/labels","id":886323,"number":6,"title":"Future Release","description":"","creator":{"login":"JamesMGreene","id":417751,"avatar_url":"https://avatars.githubusercontent.com/u/417751?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesMGreene","html_url":"https://github.com/JamesMGreene","followers_url":"https://api.github.com/users/JamesMGreene/followers","following_url":"https://api.github.com/users/JamesMGreene/following{/other_user}","gists_url":"https://api.github.com/users/JamesMGreene/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesMGreene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesMGreene/subscriptions","organizations_url":"https://api.github.com/users/JamesMGreene/orgs","repos_url":"https://api.github.com/users/JamesMGreene/repos","events_url":"https://api.github.com/users/JamesMGreene/events{/privacy}","received_events_url":"https://api.github.com/users/JamesMGreene/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2014-12-01T17:56:56Z","updated_at":"2015-05-02T03:57:36Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-04-16T19:03:35Z","updated_at":"2015-05-05T19:24:26Z","closed_at":null,"body":"According to [this entry](https://github.com/zeroclipboard/zeroclipboard/blob/master/docs/instructions.md#amd) this should work?\r\n\r\n    npm install zeroclipboard\r\n    node\r\n    > require('zeroclipboard')\r\n    TypeError: Cannot read property 'currentScript' of undefined\r\n        at _getCurrentScriptUrll/node_modules/zeroclipboard/dist/ZeroClipboard.js:216:18)\r\n\r\nAdditionally, when I try to require it in the browser with a webpack build, I'm getting `Uncaught Error: Cannot find module \"zeroclipboard\"`, but I'm not sure if that's related to the same issue or not."},"comment":{"url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/comments/99193935","html_url":"https://github.com/zeroclipboard/zeroclipboard/issues/568#issuecomment-99193935","issue_url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/568","id":99193935,"user":{"login":"DelvarWorld","id":79215,"avatar_url":"https://avatars.githubusercontent.com/u/79215?v=3","gravatar_id":"","url":"https://api.github.com/users/DelvarWorld","html_url":"https://github.com/DelvarWorld","followers_url":"https://api.github.com/users/DelvarWorld/followers","following_url":"https://api.github.com/users/DelvarWorld/following{/other_user}","gists_url":"https://api.github.com/users/DelvarWorld/gists{/gist_id}","starred_url":"https://api.github.com/users/DelvarWorld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DelvarWorld/subscriptions","organizations_url":"https://api.github.com/users/DelvarWorld/orgs","repos_url":"https://api.github.com/users/DelvarWorld/repos","events_url":"https://api.github.com/users/DelvarWorld/events{/privacy}","received_events_url":"https://api.github.com/users/DelvarWorld/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T19:24:26Z","updated_at":"2015-05-05T19:24:26Z","body":"https://facebook.github.io/react/docs/test-utils.html ?"}}