{"action":"created","issue":{"url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1133","repository_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate","labels_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1133/labels{/name}","comments_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1133/comments","events_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1133/events","html_url":"https://github.com/chentsulin/electron-react-boilerplate/issues/1133","id":243501481,"number":1133,"title":"Native modules couldn't find their binary.","user":{"login":"async3619","id":5947388,"avatar_url":"https://avatars3.githubusercontent.com/u/5947388?v=4","gravatar_id":"","url":"https://api.github.com/users/async3619","html_url":"https://github.com/async3619","followers_url":"https://api.github.com/users/async3619/followers","following_url":"https://api.github.com/users/async3619/following{/other_user}","gists_url":"https://api.github.com/users/async3619/gists{/gist_id}","starred_url":"https://api.github.com/users/async3619/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/async3619/subscriptions","organizations_url":"https://api.github.com/users/async3619/orgs","repos_url":"https://api.github.com/users/async3619/repos","events_url":"https://api.github.com/users/async3619/events{/privacy}","received_events_url":"https://api.github.com/users/async3619/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-07-17T19:30:56Z","updated_at":"2017-07-17T21:08:08Z","closed_at":"2017-07-17T19:39:43Z","body":"I want to use my own native modules on my react app that uses this boilerplate, but native module couldn't find their own binary. for example, I'll use `node-fibers` that listed on this boilerplate's document.\r\n\r\nSuppose that you just completely installed this boilerplate:\r\n\r\n```bash\r\ngit clone https://github.com/chentsulin/electron-react-boilerplate example-app\r\ncd example-app\r\nyarn\r\n```\r\n\r\nafter It `yarn`ed successfully, I'll install `node-fibers` under `./app/` directory as documented on wiki:\r\n\r\n```bash\r\ncd ./app/\r\nnpm install --save fibers\r\n```\r\n\r\nNow, I'll inject a code snippet on `./components/Home.js` to use `node-fibers` native module:\r\n\r\n```jsx\r\n// @flow\r\nimport React, { Component } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport styles from './Home.css';\r\nimport fibers from 'fibers'; // <-- this line has injected\r\n\r\nexport default class Home extends Component {\r\n  render() {\r\n    return (\r\n      <div>\r\n        <div className={styles.container} data-tid=\"container\">\r\n          <h2>Home</h2>\r\n          <Link to=\"/counter\">to Counter</Link>\r\n        </div>\r\n      </div>\r\n    );\r\n  }\r\n}\r\n```\r\n\r\nAnd I tried to run this app but It stops working with an error:\r\n\r\n```bash\r\ncd ..\r\nnpm run dev\r\n```\r\n\r\n```\r\n## There is an issue with `node-fibers` ##\r\n`D:\\Project\\electron-react-boilerplate\\app\\node_modules\\fibers\\bin\\win32-x64-54\\fibers.node` is missing.\r\n\r\nTry running this to fix the issue: D:\\Project\\electron-react-boilerplate\\node_modules\\electron\\dist\\electron.exe D:\\Project\\electron-react-boilerplate\\app\\node_modules\\fibers/build\r\n```\r\n\r\neven if there's a `.\\app\\node_modules\\fibers\\bin\\win32-x64-54\\fibers.node` file. and this error occurs not only `node-fibers` module. this error occurs on my module too. It's my fault or webpack's fault? can I even solve this issue?"},"comment":{"url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/comments/315885053","html_url":"https://github.com/chentsulin/electron-react-boilerplate/issues/1133#issuecomment-315885053","issue_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1133","id":315885053,"user":{"login":"amilajack","id":6374832,"avatar_url":"https://avatars1.githubusercontent.com/u/6374832?v=4","gravatar_id":"","url":"https://api.github.com/users/amilajack","html_url":"https://github.com/amilajack","followers_url":"https://api.github.com/users/amilajack/followers","following_url":"https://api.github.com/users/amilajack/following{/other_user}","gists_url":"https://api.github.com/users/amilajack/gists{/gist_id}","starred_url":"https://api.github.com/users/amilajack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amilajack/subscriptions","organizations_url":"https://api.github.com/users/amilajack/orgs","repos_url":"https://api.github.com/users/amilajack/repos","events_url":"https://api.github.com/users/amilajack/events{/privacy}","received_events_url":"https://api.github.com/users/amilajack/received_events","type":"User","site_admin":false},"created_at":"2017-07-17T21:08:08Z","updated_at":"2017-07-17T21:08:08Z","body":"Try using the latest version of both node (`8.1.4`) and yarn"}}
{"actor":{"display_login":"amilajack"}}