{"action":"created","issue":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/234","repository_url":"https://api.github.com/repos/fuse-box/fuse-box","labels_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/234/comments","events_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/234/events","html_url":"https://github.com/fuse-box/fuse-box/issues/234","id":208713197,"number":234,"title":"Error when importing module by node_module/path","user":{"login":"tomitrescak","id":2682705,"avatar_url":"https://avatars.githubusercontent.com/u/2682705?v=3","gravatar_id":"","url":"https://api.github.com/users/tomitrescak","html_url":"https://github.com/tomitrescak","followers_url":"https://api.github.com/users/tomitrescak/followers","following_url":"https://api.github.com/users/tomitrescak/following{/other_user}","gists_url":"https://api.github.com/users/tomitrescak/gists{/gist_id}","starred_url":"https://api.github.com/users/tomitrescak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomitrescak/subscriptions","organizations_url":"https://api.github.com/users/tomitrescak/orgs","repos_url":"https://api.github.com/users/tomitrescak/repos","events_url":"https://api.github.com/users/tomitrescak/events{/privacy}","received_events_url":"https://api.github.com/users/tomitrescak/received_events","type":"User","site_admin":false},"labels":[{"id":541763017,"url":"https://api.github.com/repos/fuse-box/fuse-box/labels/discussion%20required","name":"discussion required","color":"5319e7","default":false},{"id":541763484,"url":"https://api.github.com/repos/fuse-box/fuse-box/labels/Waiting%20for%20response","name":"Waiting for response","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-19T12:06:02Z","updated_at":"2017-02-19T19:40:14Z","closed_at":null,"body":"In my scenario I generate vendor bundle.\r\n\r\nIn my code I do following requires:\r\n\r\n```\r\nconst ReactElementPlugin = require('pretty-format/build/plugins/ReactElement');\r\nconst ReactTestComponentPlugin = require('pretty-format/build/plugins/ReactTestComponent');\r\n```\r\n\r\nThese plugins are not referenced from the entry of the 'pretty-print' and possibly are not bundled in vendor.js.\r\n\r\nAs a result, FuseBox starts importing ReactElement and ReactTestComponent from xhr 'http://localhost:3000/pretty-format/build/plugins/ReactElement' which starts to produce unlimited loop and blows up the browser."},"comment":{"url":"https://api.github.com/repos/fuse-box/fuse-box/issues/comments/280942778","html_url":"https://github.com/fuse-box/fuse-box/issues/234#issuecomment-280942778","issue_url":"https://api.github.com/repos/fuse-box/fuse-box/issues/234","id":280942778,"user":{"login":"tomitrescak","id":2682705,"avatar_url":"https://avatars.githubusercontent.com/u/2682705?v=3","gravatar_id":"","url":"https://api.github.com/users/tomitrescak","html_url":"https://github.com/tomitrescak","followers_url":"https://api.github.com/users/tomitrescak/followers","following_url":"https://api.github.com/users/tomitrescak/following{/other_user}","gists_url":"https://api.github.com/users/tomitrescak/gists{/gist_id}","starred_url":"https://api.github.com/users/tomitrescak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomitrescak/subscriptions","organizations_url":"https://api.github.com/users/tomitrescak/orgs","repos_url":"https://api.github.com/users/tomitrescak/repos","events_url":"https://api.github.com/users/tomitrescak/events{/privacy}","received_events_url":"https://api.github.com/users/tomitrescak/received_events","type":"User","site_admin":false},"created_at":"2017-02-19T19:40:14Z","updated_at":"2017-02-19T19:40:14Z","body":"Hi, what do you mean? I had to manually recreate the package (copy all files) in my app. Doing +pretty-print on main bundle did not help."}}
{"actor":{"display_login":"tomitrescak"}}