{"action":"created","issue":{"url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/30","repository_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds","labels_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/30/comments","events_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/30/events","html_url":"https://github.com/toymachiner62/node-mongo-seeds/issues/30","id":166495561,"number":30,"title":"Cannot find module '../build/Release/bson'","user":{"login":"aabanaag","id":2245822,"avatar_url":"https://avatars.githubusercontent.com/u/2245822?v=3","gravatar_id":"","url":"https://api.github.com/users/aabanaag","html_url":"https://github.com/aabanaag","followers_url":"https://api.github.com/users/aabanaag/followers","following_url":"https://api.github.com/users/aabanaag/following{/other_user}","gists_url":"https://api.github.com/users/aabanaag/gists{/gist_id}","starred_url":"https://api.github.com/users/aabanaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabanaag/subscriptions","organizations_url":"https://api.github.com/users/aabanaag/orgs","repos_url":"https://api.github.com/users/aabanaag/repos","events_url":"https://api.github.com/users/aabanaag/events{/privacy}","received_events_url":"https://api.github.com/users/aabanaag/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-20T04:53:36Z","updated_at":"2016-12-24T16:56:53Z","closed_at":"2016-08-08T20:07:04Z","body":"I have this error running seed\n\n```\n{ Error: Cannot find module '../build/Release/bson'\n    at Function.Module._resolveFilename (module.js:440:15)\n    at Function.Module._load (module.js:388:25)\n    at Module.require (module.js:468:17)\n    at require (internal/module.js:20:19)\n    at Object.<anonymous> (/Users/jongbanaag/Documents/Code/Api/BetterHealthPH/api-orderandsubscription/node_modules/node-mongo-seeds/node_modules/bson/ext/index.js:15:10)\n    at Module._compile (module.js:541:32)\n    at Object.Module._extensions..js (module.js:550:10)\n    at Module.load (module.js:458:32)\n    at tryModuleLoad (module.js:417:12)\n    at Function.Module._load (module.js:409:3) code: 'MODULE_NOT_FOUND' }\njs-bson: Failed to load c++ bson extension, using pure JS version\n{ Error: Cannot find module '../build/Release/bson'\n    at Function.Module._resolveFilename (module.js:440:15)\n    at Function.Module._load (module.js:388:25)\n    at Module.require (module.js:468:17)\n    at require (internal/module.js:20:19)\n    at Object.<anonymous> (/Users/jongbanaag/Documents/Code/Api/BetterHealthPH/api-orderandsubscription/node_modules/json2mongo/node_modules/bson/ext/index.js:15:10)\n    at Module._compile (module.js:541:32)\n    at Object.Module._extensions..js (module.js:550:10)\n    at Module.load (module.js:458:32)\n    at tryModuleLoad (module.js:417:12)\n    at Function.Module._load (module.js:409:3) code: 'MODULE_NOT_FOUND' }\njs-bson: Failed to load c++ bson extension, using pure JS version\nSeeding files from directory /Users/jongbanaag/Documents/Code/Api/BetterHealthPH/api-orderandsubscription/seeds\n```\n\nDid tried removing the node_modules then installing it again but still has errors\n"},"comment":{"url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/comments/269091853","html_url":"https://github.com/toymachiner62/node-mongo-seeds/issues/30#issuecomment-269091853","issue_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/30","id":269091853,"user":{"login":"toymachiner62","id":485782,"avatar_url":"https://avatars.githubusercontent.com/u/485782?v=3","gravatar_id":"","url":"https://api.github.com/users/toymachiner62","html_url":"https://github.com/toymachiner62","followers_url":"https://api.github.com/users/toymachiner62/followers","following_url":"https://api.github.com/users/toymachiner62/following{/other_user}","gists_url":"https://api.github.com/users/toymachiner62/gists{/gist_id}","starred_url":"https://api.github.com/users/toymachiner62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toymachiner62/subscriptions","organizations_url":"https://api.github.com/users/toymachiner62/orgs","repos_url":"https://api.github.com/users/toymachiner62/repos","events_url":"https://api.github.com/users/toymachiner62/events{/privacy}","received_events_url":"https://api.github.com/users/toymachiner62/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T16:56:53Z","updated_at":"2016-12-24T16:56:53Z","body":"This is a pretty hacky solution and not recommended as bson is a mongodb\ndependency and not any code written in the node-mongo-seeds project.\n\nOn Saturday, December 24, 2016, Alberto <notifications@github.com> wrote:\n\n> change in /usr/local/lib/node_modules/node-mongo-seeds/node_modules/\n> mongodb/node_modules/bson/ext/index.js\n>\n> bson = require('../build/Release/bson');\n>\n> to\n>\n> bson = require('bson');\n>\n> solve\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/toymachiner62/node-mongo-seeds/issues/30#issuecomment-269082797>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAdplr3gzFAbwNqrPxeW89wpskE0z6LXks5rLRIogaJpZM4JQbMu>\n> .\n>\n\n\n-- \nTom Caflisch\n507.202.0087\nTomCaflisch@gmail.com\nhttp://allthingswebdesign.com\n"}}
{"actor":{"display_login":"toymachiner62"}}