{"action":"opened","issue":{"url":"https://api.github.com/repos/guyonroche/exceljs/issues/188","repository_url":"https://api.github.com/repos/guyonroche/exceljs","labels_url":"https://api.github.com/repos/guyonroche/exceljs/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/guyonroche/exceljs/issues/188/comments","events_url":"https://api.github.com/repos/guyonroche/exceljs/issues/188/events","html_url":"https://github.com/guyonroche/exceljs/issues/188","id":180411159,"number":188,"title":"requiring exceljs causes 'Cannot find module bluebird' error","user":{"login":"barbalex","id":669783,"avatar_url":"https://avatars.githubusercontent.com/u/669783?v=3","gravatar_id":"","url":"https://api.github.com/users/barbalex","html_url":"https://github.com/barbalex","followers_url":"https://api.github.com/users/barbalex/followers","following_url":"https://api.github.com/users/barbalex/following{/other_user}","gists_url":"https://api.github.com/users/barbalex/gists{/gist_id}","starred_url":"https://api.github.com/users/barbalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbalex/subscriptions","organizations_url":"https://api.github.com/users/barbalex/orgs","repos_url":"https://api.github.com/users/barbalex/repos","events_url":"https://api.github.com/users/barbalex/events{/privacy}","received_events_url":"https://api.github.com/users/barbalex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-30T22:00:08Z","updated_at":"2016-09-30T22:00:08Z","closed_at":null,"body":"I can run my electron app in dev mode without errors.\r\n\r\nWhen I build a release and start the app, this error appears:\r\n\r\n    Uncaught Error: Cannot find module 'bluebird' (module.js:457)\r\n\r\nThe error does not appear when I comment out the lines requiring exceljs and using it in one single module that is not run at the app start.\r\n\r\nIf the only thing that I change in that module is requiring exceljs, that causes the error.\r\n\r\nThis is that module: https://gist.github.com/barbalex/b566e18c3f51fad6aff956adfeae432d\r\n\r\nWhat I have tried:\r\n\r\n- loading bluebird and enclosing the `workbook.xlsx.writeFile` call in a bluebird promise\r\n- deleting the node_modules folder and reinstalling all node_modules\r\n\r\nI am using:\r\n\r\n- windows 10\r\n- node 6.5.0\r\n- npm 3.10.3\r\n- this is my package.json: https://gist.github.com/barbalex/fb4117e3cf2f0391e6c5295bf2434c03"}}
{"actor":{"display_login":"barbalex"}}