{"action":"closed","issue":{"url":"https://api.github.com/repos/sudodoki/copy-to-clipboard/issues/71","repository_url":"https://api.github.com/repos/sudodoki/copy-to-clipboard","labels_url":"https://api.github.com/repos/sudodoki/copy-to-clipboard/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/sudodoki/copy-to-clipboard/issues/71/comments","events_url":"https://api.github.com/repos/sudodoki/copy-to-clipboard/issues/71/events","html_url":"https://github.com/sudodoki/copy-to-clipboard/issues/71","id":391835008,"node_id":"MDU6SXNzdWUzOTE4MzUwMDg=","number":71,"title":"Error in Glitch","user":{"login":"Rotimi-Best","id":31730715,"node_id":"MDQ6VXNlcjMxNzMwNzE1","avatar_url":"https://avatars3.githubusercontent.com/u/31730715?v=4","gravatar_id":"","url":"https://api.github.com/users/Rotimi-Best","html_url":"https://github.com/Rotimi-Best","followers_url":"https://api.github.com/users/Rotimi-Best/followers","following_url":"https://api.github.com/users/Rotimi-Best/following{/other_user}","gists_url":"https://api.github.com/users/Rotimi-Best/gists{/gist_id}","starred_url":"https://api.github.com/users/Rotimi-Best/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rotimi-Best/subscriptions","organizations_url":"https://api.github.com/users/Rotimi-Best/orgs","repos_url":"https://api.github.com/users/Rotimi-Best/repos","events_url":"https://api.github.com/users/Rotimi-Best/events{/privacy}","received_events_url":"https://api.github.com/users/Rotimi-Best/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-17T18:23:40Z","updated_at":"2018-12-17T18:23:52Z","closed_at":"2018-12-17T18:23:52Z","author_association":"NONE","body":"I am hosting my app on glitch.com and running the code below give an error message\r\n\r\n**Code:**\r\n```javascript\r\nconst copy = require('clipboard-copy');\r\n\r\ncopy('copied');\r\n```\r\n\r\n**Error Message:** \r\n_UnhandledPromiseRejectionWarning: ReferenceError: navigator is not defined at clipboardCopy (/rbd/pnpm-volume/9f6c9fba-aa0c-4aca-a74c-4ee444e59487/node_modules/.registry.npmjs.org/clipboard-copy/2.0.1/node_modules/clipboard-copy/index.js:5:3)_\r\n"}}
{"actor":{"display_login":"Rotimi-Best"}}