Cannot find module: node-v51-darwin-x64/node_sqlite3.node #749

Open
gdbhosale opened this Issue Dec 16, 2016 · 1 comment

Projects

None yet

2 participants

@gdbhosale

Getting this error when tried to run laravel-echo-server

https://github.com/tlaverdure/laravel-echo-server

Cannot proceed further...

socket.io $laravel-echo-server start
module.js:472
    throw err;
    ^


Error: Cannot find module '/usr/local/lib/node_modules/laravel-echo-server/node_modules/sqlite3/lib/binding/node-v51-darwin-x64/node_sqlite3.node'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/laravel-echo-server/node_modules/sqlite3/lib/sqlite3.js:4:15)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/laravel-echo-server/dist/database/sqlite.js:2:15)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
@gdbhosale gdbhosale changed the title from Cannot find module node-v51-darwin-x64/node_sqlite3.node to Cannot find module: node-v51-darwin-x64/node_sqlite3.node Dec 16, 2016
@jtakalai

It looks like it's the same as #228 which is marked as "fixed". Apparently not, since I'm getting it too, not through laravel but directly when trying to require('sqlite3'). My sqlite3 is 3.1.8 and Node is 6.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment