{"action":"closed","issue":{"url":"https://api.github.com/repos/realm/realm-js/issues/521","repository_url":"https://api.github.com/repos/realm/realm-js","labels_url":"https://api.github.com/repos/realm/realm-js/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-js/issues/521/comments","events_url":"https://api.github.com/repos/realm/realm-js/issues/521/events","html_url":"https://github.com/realm/realm-js/issues/521","id":163999213,"number":521,"title":"React-Native - Error: Could not locate the bindings file. Tried:","user":{"login":"secretyouth","id":2343152,"avatar_url":"https://avatars.githubusercontent.com/u/2343152?v=3","gravatar_id":"","url":"https://api.github.com/users/secretyouth","html_url":"https://github.com/secretyouth","followers_url":"https://api.github.com/users/secretyouth/followers","following_url":"https://api.github.com/users/secretyouth/following{/other_user}","gists_url":"https://api.github.com/users/secretyouth/gists{/gist_id}","starred_url":"https://api.github.com/users/secretyouth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/secretyouth/subscriptions","organizations_url":"https://api.github.com/users/secretyouth/orgs","repos_url":"https://api.github.com/users/secretyouth/repos","events_url":"https://api.github.com/users/secretyouth/events{/privacy}","received_events_url":"https://api.github.com/users/secretyouth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-js/labels/S:Waiting%20For%20User","name":"S:Waiting For User","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":{"login":"fealebenpae","id":289915,"avatar_url":"https://avatars.githubusercontent.com/u/289915?v=3","gravatar_id":"","url":"https://api.github.com/users/fealebenpae","html_url":"https://github.com/fealebenpae","followers_url":"https://api.github.com/users/fealebenpae/followers","following_url":"https://api.github.com/users/fealebenpae/following{/other_user}","gists_url":"https://api.github.com/users/fealebenpae/gists{/gist_id}","starred_url":"https://api.github.com/users/fealebenpae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fealebenpae/subscriptions","organizations_url":"https://api.github.com/users/fealebenpae/orgs","repos_url":"https://api.github.com/users/fealebenpae/repos","events_url":"https://api.github.com/users/fealebenpae/events{/privacy}","received_events_url":"https://api.github.com/users/fealebenpae/received_events","type":"User","site_admin":false},"assignees":[{"login":"fealebenpae","id":289915,"avatar_url":"https://avatars.githubusercontent.com/u/289915?v=3","gravatar_id":"","url":"https://api.github.com/users/fealebenpae","html_url":"https://github.com/fealebenpae","followers_url":"https://api.github.com/users/fealebenpae/followers","following_url":"https://api.github.com/users/fealebenpae/following{/other_user}","gists_url":"https://api.github.com/users/fealebenpae/gists{/gist_id}","starred_url":"https://api.github.com/users/fealebenpae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fealebenpae/subscriptions","organizations_url":"https://api.github.com/users/fealebenpae/orgs","repos_url":"https://api.github.com/users/fealebenpae/repos","events_url":"https://api.github.com/users/fealebenpae/events{/privacy}","received_events_url":"https://api.github.com/users/fealebenpae/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-07-06T05:08:45Z","updated_at":"2016-07-22T23:58:42Z","closed_at":"2016-07-22T23:58:42Z","body":"Hi all,\r\n\r\nHopefully someone can chime in and help me figure this out. I am using React-Native (0.28.0) & Realm (0.14.1) since installing ream my react native tests have been failing due to the following error.\r\n\r\nI've literally hit a wall, when I remove the react components that are requiring Realm, they test fine. But with realm the error bellow is returned.\r\n\r\nAny help or ideas are much appreciated, as I have tried remove node_modules, npm rebuild & downgraded realm. \r\n\r\n**Package.json**\r\n{\r\n  \"name\": \"reactApp\",\r\n  \"version\": \"0.0.1\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"start\": \"node node_modules/react-native/local-cli/cli.js start\",\r\n    \"test\": \"mocha --require react-native-mock/mock.js --compilers js:babel-core/register --recursive test/*.js\"\r\n  },\r\n  \"dependencies\": {\r\n    \"lodash\": \"^4.13.1\",\r\n    \"react\": \"15.2.0\",\r\n    \"react-native\": \"^0.28.0\",\r\n    \"realm\": \"^0.14.1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-core\": \"^6.10.4\",\r\n    \"babel-preset-react-native\": \"^1.9.0\",\r\n    \"chai\": \"^3.5.0\",\r\n    \"enzyme\": \"^2.3.0\",\r\n    \"mocha\": \"^2.5.3\",\r\n    \"mockery\": \"^1.7.0\",\r\n    \"react\": \"^15.2.0\",\r\n    \"react-addons-test-utils\": \"^15.2.0\",\r\n    \"react-dom\": \"^15.2.0\",\r\n    \"react-native-mock\": \"^0.2.4\"\r\n  }\r\n}\r\n\r\n**Error when running npm test**\r\n\r\n> mocha --require react-native-mock/mock.js --compilers js:babel-core/register --recursive test/*.js\r\n\r\n/Users/jamiehayman/someApp/reactApp/node_modules/bindings/bindings.js:91\r\n  throw err\r\n  ^\r\n\r\nError: Could not locate the bindings file. Tried:\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/build/realm.node\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/build/Debug/realm.node\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/build/Release/realm.node\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/out/Debug/realm.node\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/Debug/realm.node\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/out/Release/realm.node\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/Release/realm.node\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/build/default/realm.node\r\n → /Users/jamiehayman/someApp/reactApp/node_modules/realm/compiled/6.2.2/darwin/x64/realm.node\r\n    at bindings (/Users/jamiehayman/someApp/reactApp/node_modules/bindings/bindings.js:88:9)\r\n    at Object.<anonymous> (/Users/jamiehayman/someApp/reactApp/node_modules/realm/lib/index.js:35:41)\r\n    at Module._compile (module.js:541:32)\r\n    at Module._extensions..js (module.js:550:10)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/jamiehayman/someApp/reactApp/node_modules/babel-register/lib/node.js:166:7)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Module.require (module.js:468:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (realm.js:3:1)\r\n    at Module._compile (module.js:541:32)\r\n    at loader (/Users/jamiehayman/someApp/reactApp/node_modules/babel-register/lib/node.js:158:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/jamiehayman/someApp/reactApp/node_modules/babel-register/lib/node.js:168:7)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Module.require (module.js:468:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (dashboardContainer.js:9:1)\r\n    at Module._compile (module.js:541:32)\r\n    at loader (/Users/jamiehayman/someApp/reactApp/node_modules/babel-register/lib/node.js:158:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/jamiehayman/someApp/reactApp/node_modules/babel-register/lib/node.js:168:7)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Module.require (module.js:468:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (dashboardContainer.test.js:18:1)\r\n    at Module._compile (module.js:541:32)\r\n    at loader (/Users/jamiehayman/someApp/reactApp/node_modules/babel-register/lib/node.js:158:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/jamiehayman/someApp/reactApp/node_modules/babel-register/lib/node.js:168:7)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Module.require (module.js:468:17)\r\n    at require (internal/module.js:20:19)\r\n    at /Users/jamiehayman/someApp/reactApp/node_modules/mocha/lib/mocha.js:220:27\r\n    at Array.forEach (native)\r\n    at Mocha.loadFiles (/Users/jamiehayman/someApp/reactApp/node_modules/mocha/lib/mocha.js:217:14)\r\n    at Mocha.run (/Users/jamiehayman/someApp/reactApp/node_modules/mocha/lib/mocha.js:469:10)\r\n    at Object.<anonymous> (/Users/jamiehayman/someApp/reactApp/node_modules/mocha/bin/_mocha:404:18)\r\n    at Module._compile (module.js:541:32)\r\n    at Object.Module._extensions..js (module.js:550:10)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Module.runMain (module.js:575:10)\r\n    at run (node.js:348:7)\r\n    at startup (node.js:140:9)\r\n    at node.js:463:3\r\nnpm ERR! Test failed.  See above for more details."}}
{"actor":{"display_login":"alazier"}}