{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6056","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6056/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6056/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6056/events","html_url":"https://github.com/meteor/meteor/issues/6056","id":127969101,"number":6056,"title":"Provide shims for built-in Node libraries on the client, when possible.","user":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1"}],"state":"closed","locked":false,"assignee":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/meteor/meteor/milestones/8","html_url":"https://github.com/meteor/meteor/milestones/Release%201.3","labels_url":"https://api.github.com/repos/meteor/meteor/milestones/8/labels","id":1456857,"number":8,"title":"Release 1.3","description":"","creator":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":253,"state":"open","created_at":"2015-12-11T23:35:25Z","updated_at":"2016-04-01T00:10:45Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-01-21T16:55:08Z","updated_at":"2016-04-23T16:34:13Z","closed_at":"2016-03-01T16:22:56Z","body":"Built-in libraries are modules like `fs` and `http`, which have the property that `require.resolve(id) === id`.\r\n\r\nBrowserify and Webpack make an effort to provide stub implementations of some of these modules, and a number of npm libraries assume the availability of those stubs.\r\n\r\nThis should be a straightforward matter of mimicking the behavior of Browserify and/or Webpack, but I think it will have to wait until 1.3.1, since it is possible to provide your own stubs currently (it just won't be as automatic as it could be).\r\n\r\ncc @stubailo who was asking about this a few days ago"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/213776093","html_url":"https://github.com/meteor/meteor/issues/6056#issuecomment-213776093","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6056","id":213776093,"user":{"login":"kachkaev","id":608862,"avatar_url":"https://avatars.githubusercontent.com/u/608862?v=3","gravatar_id":"","url":"https://api.github.com/users/kachkaev","html_url":"https://github.com/kachkaev","followers_url":"https://api.github.com/users/kachkaev/followers","following_url":"https://api.github.com/users/kachkaev/following{/other_user}","gists_url":"https://api.github.com/users/kachkaev/gists{/gist_id}","starred_url":"https://api.github.com/users/kachkaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kachkaev/subscriptions","organizations_url":"https://api.github.com/users/kachkaev/orgs","repos_url":"https://api.github.com/users/kachkaev/repos","events_url":"https://api.github.com/users/kachkaev/events{/privacy}","received_events_url":"https://api.github.com/users/kachkaev/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T16:34:13Z","updated_at":"2016-04-23T16:34:13Z","body":"I just got this error after installing [`react-sanfona`](https://github.com/daviferreira/react-sanfona) in Meteor 1.3.2.4. That npm module depends on `uuid` which in turn depends on `crypto`. Even if I `npm install` and then import `crypto` directly, the error in the browser persists.\r\n\r\nWhat could go wrong?\r\n"}}