{"action":"created","issue":{"url":"https://api.github.com/repos/Flipboard/react-canvas/issues/102","labels_url":"https://api.github.com/repos/Flipboard/react-canvas/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/Flipboard/react-canvas/issues/102/comments","events_url":"https://api.github.com/repos/Flipboard/react-canvas/issues/102/events","html_url":"https://github.com/Flipboard/react-canvas/issues/102","id":91679714,"number":102,"title":"Can not resolve 'fs' in module 'linebreak'","user":{"login":"differui","id":3120588,"avatar_url":"https://avatars.githubusercontent.com/u/3120588?v=3","gravatar_id":"","url":"https://api.github.com/users/differui","html_url":"https://github.com/differui","followers_url":"https://api.github.com/users/differui/followers","following_url":"https://api.github.com/users/differui/following{/other_user}","gists_url":"https://api.github.com/users/differui/gists{/gist_id}","starred_url":"https://api.github.com/users/differui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/differui/subscriptions","organizations_url":"https://api.github.com/users/differui/orgs","repos_url":"https://api.github.com/users/differui/repos","events_url":"https://api.github.com/users/differui/events{/privacy}","received_events_url":"https://api.github.com/users/differui/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-29T03:04:46Z","updated_at":"2015-06-29T15:15:44Z","closed_at":"2015-06-29T15:15:31Z","body":"The linebreaker require 'fs' form native Node.js:\r\n\r\n```\r\n# src/linebreaker.coffee\r\nUnicodeTrie = require 'unicode-trie'\r\nfs = require 'fs'\r\nbase64 = require 'base64-js'\r\n```\r\n\r\nBut webpack seems not support native Node.js module:\r\n\r\n```\r\nERROR in ./~/react-canvas/~/linebreak/src/linebreaker.js\r\nModule not found: Error: Cannot resolve module 'fs' in /Users/rui/Sandbox/react-canvas-layout.test/node_modules/react-canvas/node_modules/linebreak/src\r\nresolve module fs in /Users/rui/Sandbox/react-canvas-layout.test/node_modules/react-canvas/node_modules/linebreak/src\r\n```\r\n\r\nI am trying to use browserify instead of webpack."},"comment":{"url":"https://api.github.com/repos/Flipboard/react-canvas/issues/comments/116727527","html_url":"https://github.com/Flipboard/react-canvas/issues/102#issuecomment-116727527","issue_url":"https://api.github.com/repos/Flipboard/react-canvas/issues/102","id":116727527,"user":{"login":"differui","id":3120588,"avatar_url":"https://avatars.githubusercontent.com/u/3120588?v=3","gravatar_id":"","url":"https://api.github.com/users/differui","html_url":"https://github.com/differui","followers_url":"https://api.github.com/users/differui/followers","following_url":"https://api.github.com/users/differui/following{/other_user}","gists_url":"https://api.github.com/users/differui/gists{/gist_id}","starred_url":"https://api.github.com/users/differui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/differui/subscriptions","organizations_url":"https://api.github.com/users/differui/orgs","repos_url":"https://api.github.com/users/differui/repos","events_url":"https://api.github.com/users/differui/events{/privacy}","received_events_url":"https://api.github.com/users/differui/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T15:15:43Z","updated_at":"2015-06-29T15:15:43Z","body":"#7"}}