{"action":"created","issue":{"url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/558","repository_url":"https://api.github.com/repos/zenorocha/clipboard.js","labels_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/558/comments","events_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/558/events","html_url":"https://github.com/zenorocha/clipboard.js/issues/558","id":333327554,"node_id":"MDU6SXNzdWUzMzMzMjc1NTQ=","number":558,"title":"Cannot find module './clipboard-action'","user":{"login":"fibo","id":176730,"node_id":"MDQ6VXNlcjE3NjczMA==","avatar_url":"https://avatars3.githubusercontent.com/u/176730?v=4","gravatar_id":"","url":"https://api.github.com/users/fibo","html_url":"https://github.com/fibo","followers_url":"https://api.github.com/users/fibo/followers","following_url":"https://api.github.com/users/fibo/following{/other_user}","gists_url":"https://api.github.com/users/fibo/gists{/gist_id}","starred_url":"https://api.github.com/users/fibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fibo/subscriptions","organizations_url":"https://api.github.com/users/fibo/orgs","repos_url":"https://api.github.com/users/fibo/repos","events_url":"https://api.github.com/users/fibo/events{/privacy}","received_events_url":"https://api.github.com/users/fibo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-06-18T15:47:32Z","updated_at":"2018-10-09T07:30:04Z","closed_at":null,"author_association":"NONE","body":"### Minimal example\r\n\r\nUsing Clipboard v2.0.1 and importing it\r\n\r\n```javascript\r\nimport Clipboard from 'clipboard'\r\n```\r\n\r\n### Expected behaviour\r\n\r\nCan import Clipboard. I fixed it downgrading to Clipboard v1.7.1\r\n\r\n### Actual behaviour\r\n\r\nGot error\r\n\r\n```\r\nCannot find module './clipboard-action'\r\n```\r\n\r\n### Browsers affected\r\n\r\nI tested it on Chrome.\r\n"},"comment":{"url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/comments/428089765","html_url":"https://github.com/zenorocha/clipboard.js/issues/558#issuecomment-428089765","issue_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/558","id":428089765,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODA4OTc2NQ==","user":{"login":"hdodov","id":5570098,"node_id":"MDQ6VXNlcjU1NzAwOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/5570098?v=4","gravatar_id":"","url":"https://api.github.com/users/hdodov","html_url":"https://github.com/hdodov","followers_url":"https://api.github.com/users/hdodov/followers","following_url":"https://api.github.com/users/hdodov/following{/other_user}","gists_url":"https://api.github.com/users/hdodov/gists{/gist_id}","starred_url":"https://api.github.com/users/hdodov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdodov/subscriptions","organizations_url":"https://api.github.com/users/hdodov/orgs","repos_url":"https://api.github.com/users/hdodov/repos","events_url":"https://api.github.com/users/hdodov/events{/privacy}","received_events_url":"https://api.github.com/users/hdodov/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T07:30:04Z","updated_at":"2018-10-09T07:30:04Z","author_association":"NONE","body":"Having the same error using Gulp over here:\r\n\r\n    module \"./clipboard-action\" not found from \"C:\\xampp\\htdocs\\project\\node_modules\\clipboard\\dist\\clipboard.js\""}}
{"actor":{"display_login":"hdodov"}}