{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/js-ipfs-api/issues/611","repository_url":"https://api.github.com/repos/ipfs/js-ipfs-api","labels_url":"https://api.github.com/repos/ipfs/js-ipfs-api/issues/611/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/js-ipfs-api/issues/611/comments","events_url":"https://api.github.com/repos/ipfs/js-ipfs-api/issues/611/events","html_url":"https://github.com/ipfs/js-ipfs-api/issues/611","id":267193209,"number":611,"title":"UglifyJS","user":{"login":"povi","id":71864,"avatar_url":"https://avatars3.githubusercontent.com/u/71864?v=4","gravatar_id":"","url":"https://api.github.com/users/povi","html_url":"https://github.com/povi","followers_url":"https://api.github.com/users/povi/followers","following_url":"https://api.github.com/users/povi/following{/other_user}","gists_url":"https://api.github.com/users/povi/gists{/gist_id}","starred_url":"https://api.github.com/users/povi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/povi/subscriptions","organizations_url":"https://api.github.com/users/povi/orgs","repos_url":"https://api.github.com/users/povi/repos","events_url":"https://api.github.com/users/povi/events{/privacy}","received_events_url":"https://api.github.com/users/povi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-10-20T14:24:56Z","updated_at":"2017-11-22T15:50:09Z","closed_at":null,"author_association":"NONE","body":"Running `npm run build` results in error:\r\n\r\n```\r\nCreating an optimized production build...\r\nFailed to compile.\r\n\r\nFailed to minify the code from this file: \r\n\r\n./node_modules/ipfs-api/src/utils/module-config.js:7\r\n```\r\n\r\nwhen trying to build a react.js project that has ipfs-api as a dependency.\r\n\r\nAs suggested by https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify , the project should be published pre-compiled."},"comment":{"url":"https://api.github.com/repos/ipfs/js-ipfs-api/issues/comments/346390826","html_url":"https://github.com/ipfs/js-ipfs-api/issues/611#issuecomment-346390826","issue_url":"https://api.github.com/repos/ipfs/js-ipfs-api/issues/611","id":346390826,"user":{"login":"atfornes","id":7475584,"avatar_url":"https://avatars1.githubusercontent.com/u/7475584?v=4","gravatar_id":"","url":"https://api.github.com/users/atfornes","html_url":"https://github.com/atfornes","followers_url":"https://api.github.com/users/atfornes/followers","following_url":"https://api.github.com/users/atfornes/following{/other_user}","gists_url":"https://api.github.com/users/atfornes/gists{/gist_id}","starred_url":"https://api.github.com/users/atfornes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atfornes/subscriptions","organizations_url":"https://api.github.com/users/atfornes/orgs","repos_url":"https://api.github.com/users/atfornes/repos","events_url":"https://api.github.com/users/atfornes/events{/privacy}","received_events_url":"https://api.github.com/users/atfornes/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T15:50:09Z","updated_at":"2017-11-22T15:50:09Z","author_association":"CONTRIBUTOR","body":"@GoodBoy962, can you share what is the content of that line in that file? \r\n\r\nIn my instalation is `var multiaddr = require('multiaddr');` which should not bring errors.\r\n\r\ncan you also share what is the error message?\r\n"}}
{"actor":{"display_login":"atfornes"}}