{"action":"created","issue":{"url":"https://api.github.com/repos/balena-io-modules/resin-image-fs/issues/46","repository_url":"https://api.github.com/repos/balena-io-modules/resin-image-fs","labels_url":"https://api.github.com/repos/balena-io-modules/resin-image-fs/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/balena-io-modules/resin-image-fs/issues/46/comments","events_url":"https://api.github.com/repos/balena-io-modules/resin-image-fs/issues/46/events","html_url":"https://github.com/balena-io-modules/resin-image-fs/issues/46","id":545700489,"node_id":"MDU6SXNzdWU1NDU3MDA0ODk=","number":46,"title":"writeFile function freezes on Windows","user":{"login":"cedricve","id":1546779,"node_id":"MDQ6VXNlcjE1NDY3Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1546779?v=4","gravatar_id":"","url":"https://api.github.com/users/cedricve","html_url":"https://github.com/cedricve","followers_url":"https://api.github.com/users/cedricve/followers","following_url":"https://api.github.com/users/cedricve/following{/other_user}","gists_url":"https://api.github.com/users/cedricve/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricve/subscriptions","organizations_url":"https://api.github.com/users/cedricve/orgs","repos_url":"https://api.github.com/users/cedricve/repos","events_url":"https://api.github.com/users/cedricve/events{/privacy}","received_events_url":"https://api.github.com/users/cedricve/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2020-01-06T12:23:26Z","updated_at":"2020-01-07T17:20:00Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI'm having issues when trying to write a file to an img (when running on Windows). I'm trying this into etcher, before flashing to the SD card, but the screen is freezing. It does work on  OSX. This is the source code I'm running:\r\n\r\n      return imagefs.writeFile({\r\n        image: fileUnzipped.name,\r\n        partition: 1,\r\n        path: 'wireless.conf',\r\n      }, `update_config=1`);\r\n\r\nWhen compiled etcher `make electron-develop`, it throws following error (but doesnt break the build) when compiling ext2fs. Not sure if it's related.\r\n\r\n<img width=\"1133\" alt=\"Screenshot 2020-01-06 at 16 13 14\" src=\"https://user-images.githubusercontent.com/1546779/71827065-b0a8b080-309f-11ea-8b1e-f7de05e32c97.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/balena-io-modules/resin-image-fs/issues/comments/571684904","html_url":"https://github.com/balena-io-modules/resin-image-fs/issues/46#issuecomment-571684904","issue_url":"https://api.github.com/repos/balena-io-modules/resin-image-fs/issues/46","id":571684904,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MTY4NDkwNA==","user":{"login":"cedricve","id":1546779,"node_id":"MDQ6VXNlcjE1NDY3Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1546779?v=4","gravatar_id":"","url":"https://api.github.com/users/cedricve","html_url":"https://github.com/cedricve","followers_url":"https://api.github.com/users/cedricve/followers","following_url":"https://api.github.com/users/cedricve/following{/other_user}","gists_url":"https://api.github.com/users/cedricve/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricve/subscriptions","organizations_url":"https://api.github.com/users/cedricve/orgs","repos_url":"https://api.github.com/users/cedricve/repos","events_url":"https://api.github.com/users/cedricve/events{/privacy}","received_events_url":"https://api.github.com/users/cedricve/received_events","type":"User","site_admin":false},"created_at":"2020-01-07T17:20:00Z","updated_at":"2020-01-07T17:20:00Z","author_association":"NONE","body":"Sorry for spamming this issue, but still when doing this, I get the linking errors. Any idea what could be missing?\r\n\r\n> npx npm@6.7.0 i --build-from-source\r\n"}}
{"actor":{"display_login":"cedricve"}}