{"action":"created","issue":{"url":"https://api.github.com/repos/cujojs/when/issues/359","labels_url":"https://api.github.com/repos/cujojs/when/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/cujojs/when/issues/359/comments","events_url":"https://api.github.com/repos/cujojs/when/issues/359/events","html_url":"https://github.com/cujojs/when/issues/359","id":41733807,"number":359,"title":"Paths for lib modules not resolving","user":{"login":"ajkochanowicz","id":320494,"avatar_url":"https://avatars.githubusercontent.com/u/320494?v=3","gravatar_id":"","url":"https://api.github.com/users/ajkochanowicz","html_url":"https://github.com/ajkochanowicz","followers_url":"https://api.github.com/users/ajkochanowicz/followers","following_url":"https://api.github.com/users/ajkochanowicz/following{/other_user}","gists_url":"https://api.github.com/users/ajkochanowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/ajkochanowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajkochanowicz/subscriptions","organizations_url":"https://api.github.com/users/ajkochanowicz/orgs","repos_url":"https://api.github.com/users/ajkochanowicz/repos","events_url":"https://api.github.com/users/ajkochanowicz/events{/privacy}","received_events_url":"https://api.github.com/users/ajkochanowicz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-09-02T17:28:41Z","updated_at":"2015-02-10T02:02:02Z","closed_at":"2014-09-02T18:38:31Z","body":"I'm getting the errors\r\n\r\n    Cannot find module './makePromise' from '/Users/x/Sites/y/node_modules/when/es6-shim'\r\n    Cannot find module './Scheduler' from '/Users/x/Sites/y/node_modules/when/es6-shim'\r\n    Cannot find module './async' from '/Users/x/Sites/y/node_modules/when/es6-shim'\r\n    Cannot find module './Queue' from '/Users/x/Sites/y/node_modules/when/es6-shim'\r\n    Cannot find module '../timer' from '/Users/x/Sites/y/node_modules/when/es6-shim'\r\n\r\nAt first I thought this was something wrong with my implementation.\r\n\r\nThen, I noticed in the [Promise.js](https://github.com/cujojs/when/blob/master/es6-shim/Promise.js) file, the references to the modules don't appear to be correct.\r\n\r\n\tvar makePromise = require('./makePromise');\r\n\tvar Scheduler = require('./Scheduler');\r\n\tvar async = require('./async');\r\n\r\n\treturn makePromise({\r\n\t\tscheduler: new Scheduler(async)\r\n\t});\r\n\r\nThey reference the current directory, which is not /lib. Shouldn't they be \r\n\r\n    ../lib/makePromise\r\n\r\n?"},"comment":{"url":"https://api.github.com/repos/cujojs/when/issues/comments/73630906","html_url":"https://github.com/cujojs/when/issues/359#issuecomment-73630906","issue_url":"https://api.github.com/repos/cujojs/when/issues/359","id":73630906,"user":{"login":"briancavalier","id":90518,"avatar_url":"https://avatars.githubusercontent.com/u/90518?v=3","gravatar_id":"","url":"https://api.github.com/users/briancavalier","html_url":"https://github.com/briancavalier","followers_url":"https://api.github.com/users/briancavalier/followers","following_url":"https://api.github.com/users/briancavalier/following{/other_user}","gists_url":"https://api.github.com/users/briancavalier/gists{/gist_id}","starred_url":"https://api.github.com/users/briancavalier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briancavalier/subscriptions","organizations_url":"https://api.github.com/users/briancavalier/orgs","repos_url":"https://api.github.com/users/briancavalier/repos","events_url":"https://api.github.com/users/briancavalier/events{/privacy}","received_events_url":"https://api.github.com/users/briancavalier/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T02:02:02Z","updated_at":"2015-02-10T02:02:02Z","body":"Hey @jrburke, thanks a bunch for the heads up!  Seems like we just need to sit tight until a new version of browserify is available (one that depends on umd >= 3.0.0).  Then we can release a new when.js with an es6 shim built using that new version."}}