{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6364","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6364/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6364/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6364/events","html_url":"https://github.com/meteor/meteor/issues/6364","id":137091859,"number":6364,"title":"1.3 beta 11: App works, then fails if I comment out import of no-longer-defined variable","user":{"login":"ndarilek","id":1172,"avatar_url":"https://avatars.githubusercontent.com/u/1172?v=3","gravatar_id":"","url":"https://api.github.com/users/ndarilek","html_url":"https://github.com/ndarilek","followers_url":"https://api.github.com/users/ndarilek/followers","following_url":"https://api.github.com/users/ndarilek/following{/other_user}","gists_url":"https://api.github.com/users/ndarilek/gists{/gist_id}","starred_url":"https://api.github.com/users/ndarilek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndarilek/subscriptions","organizations_url":"https://api.github.com/users/ndarilek/orgs","repos_url":"https://api.github.com/users/ndarilek/repos","events_url":"https://api.github.com/users/ndarilek/events{/privacy}","received_events_url":"https://api.github.com/users/ndarilek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-28T20:20:09Z","updated_at":"2016-02-29T10:53:36Z","closed_at":null,"body":"I apologize for the somewhat amature nature of this bug report, but I don't know if I've hit some subtle module issue or if I've made some equally subtle mistake on my part.\r\n\r\nIn short, I have a somewhat complex Meteor app that is a tower of dependencies--Mantra, React, and various assorted modules. I have the line:\r\n\r\n```\r\nimport {authState} from \"../\"\r\n```\r\n\r\nin a container component. `authState` once existed but doesn't any longer, so it resolves to undefined. If I comment that line out, my app fails to load with the following error:\r\n\r\n```\r\nError: Curry function of composeAll needs an input.\r\n```\r\n\r\nand none of my app renders.\r\n\r\nI get that this error is in react-komposer, and I've filed [an issue there](https://github.com/kadirahq/react-komposer/issues/42), but I can't help but think that if something is failing or succeeding based on the presence of an import line that pulls in a non-existent export, then something is seriously broken in the module system.\r\n\r\nUnfortunately, I can't create a smaller reproduction. I've gotten things working again by stripping out lots of modules and adding things back, but I can't figure out why adding a given component back causes the error. I've done lots of refactoring lately, and it's quite possible that my code is erroring at some level, but I'm wondering if something in the module loader/compiler is swallowing an exception or something. To say that this failure case is driving me crazy is not much of an overstatement. :) At no point in this process do I get a useful exception about something in my module not compiling and thus causing this higher-level react-kompose error. Even so, at various points when I've hit this issue I *have* uncovered errors in my modules, and it seems like those should have been reported but weren't.\r\n\r\nDoes this at all sound like an error that may have been fixed since beta 11? If so, awesome. If not, is there some way I might tar up and deliver my app privately for investigation? Sorry, not trying to score free consulting/support, but given that modules are a big focus of 1.3 and my problem seems module-related, I'm wondering if I've uncovered a serious bug that is too subtle for me to spot.\r\n\r\nAdditionally, if anyone has any advice for how to debug this further locally, that would be great. It just seems like an import of an undefined variable that is never used would be a no-op, so if stripping out a no-op causes my app to fail, then I just don't know what else I can do.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/190152714","html_url":"https://github.com/meteor/meteor/issues/6364#issuecomment-190152714","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6364","id":190152714,"user":{"login":"Menda","id":23944,"avatar_url":"https://avatars.githubusercontent.com/u/23944?v=3","gravatar_id":"","url":"https://api.github.com/users/Menda","html_url":"https://github.com/Menda","followers_url":"https://api.github.com/users/Menda/followers","following_url":"https://api.github.com/users/Menda/following{/other_user}","gists_url":"https://api.github.com/users/Menda/gists{/gist_id}","starred_url":"https://api.github.com/users/Menda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Menda/subscriptions","organizations_url":"https://api.github.com/users/Menda/orgs","repos_url":"https://api.github.com/users/Menda/repos","events_url":"https://api.github.com/users/Menda/events{/privacy}","received_events_url":"https://api.github.com/users/Menda/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T10:53:36Z","updated_at":"2016-02-29T10:53:36Z","body":"No, you need to import it explicitly were the export is done. If it's an installed module, then it works different (check this: https://github.com/meteor/meteor/blob/release-1.3/packages/modules/README.md)"}}