Cannot find module 'node_sqlite3.node'

181 views
Skip to first unread message

Lucas Facchini

unread,
Apr 2, 2014, 5:09:49 PM4/2/14
to clou...@googlegroups.com
Hi I'm trying to 're-install' Ghost blog on cloudnode again. I deleted my current and created another with the right name on it. 
Maybe I'm doing something wrong. But I receive this error on the app's log:
2 Apr 23:02:40 - Inside Node Virtual Machine
2 Apr 23:02:40 - Version: v0.8.26
2 Apr 23:02:40 - Owning user: 501
2 Apr 23:02:40 - User Changed: 501
2 Apr 23:02:40 - Checking for /etc
2 Apr 23:02:40 - Update /etc/resolve.conf with Googles DNS servers..
2 Apr 23:02:40 - Checking for /tmp
2 Apr 23:02:40 - Checking for /mnt
2 Apr 23:02:40 - Setting up sandbox..
2 Apr 23:02:40 - Munging require paths..
2 Apr 23:02:40 - Globalizing Buffer
2 Apr 23:02:40 - Reading startup file server.js...
2 Apr 23:02:40 - Final user check: 501
2 Apr 23:02:40 - Cloudnode wrapped script starting (8172) at Wed Apr 02 2014 23:02:40 GMT+0200 (UTC)
[31m
ERROR: [39m [31mCannot find module './binding/Release/v8-3.11-linux-ia32/node_sqlite3.node' [39m

Error: Cannot find module './binding/Release/v8-3.11-linux-ia32/node_sqlite3.node'
   at Function.Module._resolveFilename (module.js:338:15)
   at Function.Module._load (module.js:280:25)
   at Module.require (module.js:362:17)
   at require (module.js:378:17)
   at Object.<anonymous> (/node_modules/sqlite3/lib/sqlite3.js:7:15)
   at Module._compile (module.js:449:26)
   at Object.Module._extensions..js (module.js:467:10)
   at Module.load (module.js:356:32)
   at Function.Module._load (module.js:312:12)
   at Module.require (module.js:362:17)

Lucas Facchini

unread,
Apr 3, 2014, 7:12:06 AM4/3/14
to clou...@googlegroups.com
It was my mistake, the app created was using node 0.8. I switched to node 0.10 and all seems to be running fine now. :|
Reply all
Reply to author
Forward
0 new messages