{"action":"opened","issue":{"url":"https://api.github.com/repos/chuanyi/msexcel-builder/issues/65","repository_url":"https://api.github.com/repos/chuanyi/msexcel-builder","labels_url":"https://api.github.com/repos/chuanyi/msexcel-builder/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/chuanyi/msexcel-builder/issues/65/comments","events_url":"https://api.github.com/repos/chuanyi/msexcel-builder/issues/65/events","html_url":"https://github.com/chuanyi/msexcel-builder/issues/65","id":188341036,"number":65,"title":"Minimal roundtrip to create an xlsx file","user":{"login":"konradjurk","id":6976170,"avatar_url":"https://avatars.githubusercontent.com/u/6976170?v=3","gravatar_id":"","url":"https://api.github.com/users/konradjurk","html_url":"https://github.com/konradjurk","followers_url":"https://api.github.com/users/konradjurk/followers","following_url":"https://api.github.com/users/konradjurk/following{/other_user}","gists_url":"https://api.github.com/users/konradjurk/gists{/gist_id}","starred_url":"https://api.github.com/users/konradjurk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konradjurk/subscriptions","organizations_url":"https://api.github.com/users/konradjurk/orgs","repos_url":"https://api.github.com/users/konradjurk/repos","events_url":"https://api.github.com/users/konradjurk/events{/privacy}","received_events_url":"https://api.github.com/users/konradjurk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-09T20:11:46Z","updated_at":"2016-11-09T20:11:46Z","closed_at":null,"body":"What is the minimal roundtrip I have to do to create an Excel file?\r\n\r\nFollowing the documentation, I thought this should work:\r\n\r\n```\r\nlet workbook = new Excel.Workbook();\r\n\r\nvar sheet = workbook.addWorksheet('My Sheet');\r\nsheet.columns = [\r\n  {header: 'Id', key: 'id', width: 10}\r\n];\r\nsheet.addRow({id: 1});\r\n\r\nworkbook.xlsx.writeFile('/tmp/hello-world.xlsx')\r\n  .then(function () {\r\n    console.log('success!');\r\n  });\r\n```\r\n\r\nThis creates an excel file but I can't open it with the latest Excel for Mac OS. No specific error message. It just says it is corrupt an offers a button to repair it, but that does not work.\r\n\r\nMac Os/Node.js v6/exceljs@^0.2.36\r\n\r\n\r\nThanks! :)"}}
{"actor":{"display_login":"konradjurk"}}