I try to install npm install couchbase, it seems like installed correctly:
But when I run the following code:
var couchbase = require('couchbase');
var cluster = new couchbase.Cluster('couchbase://127.0.0.1');
var bucket = cluster.openBucket('default');
bucket.upsert('testdoc', {name:'Frank'}, function(err, result) {
if (err) throw err;
bucket.get('testdoc', function(err, result) {
if (err) throw err;
console.log(result.value);
// {name: Frank}
});
});'
Give me the following error:
throw new Error('Failed to locate couchnode native binding'
node_modules/couchbase/builderror.log:
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Admin\Labs\beersample-node\node_modules\couchbase
gyp ERR! node -v v4.2.4
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
Generally speaking, you need not have a Visual Studio build environment and it looks, from the error, like yours is getting invoked here. Can you try to do this from a shell where your VS environment isn't in the path? That may let it follow the more common installation path.
Related
I have had no issues with installing modules up until now, and I'm not sure what went wrong, as I haven't changed my workflow at all.
I ran:
npm i --save mariadb
in the root directory of my Node project. Then I imported this module:
const mariadb = require("mariadb")
When I try to run, though, I get
Error: Cannot find module 'mariadb'
Looking in node_modules, mariadb indeed is in there, but then looking in package.json, mariadb is not listed in dependencies. I then tried running
npm install --save mariadb
in the src directory to same effect. Then tried
npm install -g mariadb
to same effect. Then tried
rm -rf node_modules
npm install
Same effect, and I also get this error (I assume it must be related somehow):
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 19.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/codyray/github.com/cody-a-ray/neighbors/client/node_modules/fsevents
gyp ERR! node -v v12.14.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
> core-js#2.6.11 postinstall /Users/codyray/github.com/cody-a-ray/neighbors/client/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Also, after that last command, every package.json file has the following error:
Problems loading reference 'https://schemastore.azurewebsites.net/schemas/json/package.json': Unable to load schema from 'https://schemastore.azurewebsites.net/schemas/json/package.json': getaddrinfo ENOTFOUND schemastore.azurewebsites.net.
I have no idea what any of this means. Seems very cryptic.
I then tried just manually adding mariadb to my package.json and running
npm install --save
again, to no effect.
God help me
Maybe you should try
npm install mariadb --save
I see you are putting in the wrong order, for more information run this command on your console:
npm help install
I am trying to compile my sass with gulp but when I try the command (in my project):
gulp init it gives me the error message:
Local gulp not found in ~/Desktop/templateWebsite
[09:01:31] Try running: npm install gulp
I have the gulp CLI gobaly installed but it still does not work.
sudo npm install -g gulp-cli
I found some possible solutions on Stack Overflow but they didn't work. Also I tried different version of gulp CLI.
i also tryed to install gulp localy:
sebastians-mbp:templateWebsite sebastiantramper$ sudo npm install gulp
Password:
> fsevents#1.2.7 install /Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents
> node install
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for fsevents#1.2.7 and node#11.6.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/lib'
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/build'
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64" "--napi_version=3" "--node_abi_napi=napi"
gyp ERR! cwd /Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --napi_version=3 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:188:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:978:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Darwin 17.5.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents
node-pre-gyp ERR! node -v v11.6.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/Users/sebastiantramper/Desktop/templateWebsite/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --napi_version=3 --node_abi_napi=napi' (1)
npm WARN saveError ENOENT: no such file or directory, open '/Users/sebastiantramper/Desktop/templateWebsite/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/sebastiantramper/Desktop/templateWebsite/package.json'
npm WARN templateWebsite No description
npm WARN templateWebsite No repository field.
npm WARN templateWebsite No README data
npm WARN templateWebsite No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.7 (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.7 install: `node install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ gulp#4.0.0
my first time around here..
Im trying to install foundation-sites by ZURB. I used to use it in the past, but now somethings wrong that I've been trying to figure out for quite some time.
I think I may have done something to screw up my Node install or something, but im not sure. I'm going to show you guys what i get in the terminal when i try to install using the foundation CLI.
λ foundation -v
Foundation CLI version 2.2.5
J. Clark#JC-PC ~/documents/projects/godaddyv2 (master)
λ foundation new
? What are you building today? A website (Foundation for Sites)
? What's the project called? (no spaces) godaddyv2
? Which template would you like to use? Basic Template: includes a Sass compiler
.
/| ,
, /|/ \/| /| Thanks for using ZURB Foundation for Sites!
/|/ |/ | -------------------------------------------
|___| |___| Let's set up a new project.
\___| ^^ ^^ |___/ It shouldn't take more than a minute.
| -[O]--[O]- |
| ___, |
| ... |
\__________/
Downloading the project template...
Done downloading!
Installing dependencies...
-
> node-sass#3.13.1 install C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-64_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-64_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> node-sass#3.13.1 postinstall C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass
> node scripts/build.js
Building: C:\Program Files\nodejs\node.exe C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_mo
dules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli 'C:\\Users\\J. Clark\\documents\\projects\\godaddyv2\\godaddyv2\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\node-gyp\
\bin\\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp#3.8.0
gyp info using node#10.9.0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\n
ode_modules\node-gyp\node_modules\which\which.js:13:12)
gyp verb `which` failed at F (C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\nod
e-gyp\node_modules\which\which.js:68:19)
gyp verb `which` failed at E (C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\nod
e-gyp\node_modules\which\which.js:80:29)
gyp verb `which` failed at C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\node-g
yp\node_modules\which\which.js:89:16
gyp verb `which` failed at C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\node-g
yp\node_modules\which\node_modules\isexe\index.js:42:5
gyp verb `which` failed at C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\node-g
yp\node_modules\which\node_modules\isexe\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\n
ode_modules\node-gyp\node_modules\which\which.js:13:12)
gyp verb `which` failed at F (C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\nod
e-gyp\node_modules\which\which.js:68:19)
gyp verb `which` failed at E (C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\nod
e-gyp\node_modules\which\which.js:80:29)
gyp verb `which` failed at C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\node-g
yp\node_modules\which\which.js:89:16
gyp verb `which` failed at C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\node-g
yp\node_modules\which\node_modules\isexe\index.js:42:5
gyp verb `which` failed at C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass\node_modules\node-g
yp\node_modules\which\node_modules\isexe\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed stack:
gyp verb `which` failed 'Error: not found: python2\n at getNotFoundError (C:\\Users\\J. Clark\\documents\\projects\\godaddyv2\\godaddyv2\\node_modu
les\\gulp-sass\\node_modules\\node-sass\\node_modules\\node-gyp\\node_modules\\which\\which.js:13:12)\n at F (C:\\Users\\J. Clark\\documents\\projects
\\godaddyv2\\godaddyv2\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\node-gyp\\node_modules\\which\\which.js:68:19)\n at E (C:\\Use
rs\\J. Clark\\documents\\projects\\godaddyv2\\godaddyv2\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\node-gyp\\node_modules\\which\\w
hich.js:80:29)\n at C:\\Users\\J. Clark\\documents\\projects\\godaddyv2\\godaddyv2\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\no
de-gyp\\node_modules\\which\\which.js:89:16\n at C:\\Users\\J. Clark\\documents\\projects\\godaddyv2\\godaddyv2\\node_modules\\gulp-sass\\node_modules
\\node-sass\\node_modules\\node-gyp\\node_modules\\which\\node_modules\\isexe\\index.js:42:5\n at C:\\Users\\J. Clark\\documents\\projects\\godaddyv2\
\godaddyv2\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\node-gyp\\node_modules\\which\\node_modules\\isexe\\windows.js:36:5\n at F
SReqWrap.oncomplete (fs.js:152:21)',
gyp verb `which` failed code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Users\J. Clark\AppData\Local\Programs\Python\Python37-32\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\J. Clark\AppData\Local\Programs\Python\Python37-32\python.EXE -c import sys; print "%s.%s.%s" % sys.versio
n_info[:3];
gyp ERR! stack File "<string>", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:289:12)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at maybeClose (internal/child_process.js:961:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\J. Clark\\documents\\projects\\godaddyv2\\godaddyv2\\node_modules\\gulp-sass\\node_mod
ules\\node-sass\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_lib
rary="
gyp ERR! cwd C:\Users\J. Clark\documents\projects\godaddyv2\godaddyv2\node_modules\gulp-sass\node_modules\node-sass
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
There were some problems during the installation.
✓ New project folder created.
✗ Node modules not installed. Try running npm install manually.
✓ Bower components installed.
Once you've resolved the above issues, run foundation watch while inside the godaddyv2 folder.
I really appreciate your help with troubleshooting this issue. I can't seem to find anybody else who has had this problem and it's been troubling me for some time now
node-gyp is a build tool which needs Python 2.
For Windows you have to run npm i -g windows-build-tools --production to get it installed and all other dependencies for such build tools.
I am trying to install libxmljs on Ubuntu Server 12
I ran the following command
sudo npm install libxmljs
and i get the following error.
npm http GET https://registry.npmjs.org/libxmljs
npm http 304 https://registry.npmjs.org/libxmljs
npm http GET https://registry.npmjs.org/bindings/1.1.1
npm http GET https://registry.npmjs.org/nan/1.1.2
npm http 304 https://registry.npmjs.org/nan/1.1.2
npm http 304 https://registry.npmjs.org/bindings/1.1.1
> libxmljs#0.10.0 install /home/xxx/node_modules/libxmljs
> node-gyp rebuild
/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/sysadmin/node_modules/libxmljs
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! weird error 1
npm ERR! not ok code 0
Please help.
I had a similar problem and could fix it with. Probably the binary name changed from nodejs to node in a more recent version.
ln -s /usr/bin/nodejs /usr/local/bin/node
I am working with Node.js, Express.js and sqlite3 to create a small website.
I have developed my project in Ubuntu and I have been trying to get it to work in Mac also.
But after I svn checkout from my repository the folder of the project, and try to run my app.js file I get the following error:
module.js:356
Module._extensions[extension](this, filename);
^
Error: dlopen(/Users/cs205g1s13/BS/baby_skype_less/node_modules/sqlite3/build/Release/node_sqlite3.node, 1): no suitable image found. Did find:
/Users/cs205g1s13/BS/baby_skype_less/node_modules/sqlite3/build/Release/node_sqlite3.node: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/cs205g1s13/BS/baby_skype_less/node_modules/sqlite3/lib/sqlite3.js:1:104)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
The website works fine on Ubuntu. And also, the Mac computer has Node.js, sqlite3. Any help of why this is happening would be appreciated.
I removed the node_modules from my svn repository, and svn checkout my project folder into a mac computer. When I do npm install sqlite3 I get the following errors:
$ npm install sqlite3
npm WARN package.json application-name#0.0.1 No README.md file found!
npm http GET https://registry.npmjs.org/sqlite3
npm http 304 https://registry.npmjs.org/sqlite3
sqlite3#2.1.7 install /Users/cs205g1s13/BS/playing/node_modules/sqlite3
node-gyp rebuild
Traceback (most recent call last):
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp", line 15, in <module>
import gyp
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>
import gyp.input
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 15, in <module>
import multiprocessing
ImportError: No module named multiprocessing
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:415:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:784:12)
gyp ERR! System Darwin 11.4.2
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node- gyp.js" "rebuild"
gyp ERR! cwd /Users/cs205g1s13/BS/playing/node_modules/sqlite3
gyp ERR! node -v v0.10.4
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
npm ERR! sqlite3#2.1.7 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the sqlite3#2.1.7 install script.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "sqlite3"
npm ERR! cwd /Users/cs205g1s13/BS/playing
npm ERR! node -v v0.10.4
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/cs205g1s13/BS/playing/npm-debug.log
npm ERR! not ok code 0
Did you check in your node_modules folder into svn? Don't do that. To fix it, run npm rebuild on your Ubuntu box. sqlite uses extensions that must be compiled on the host platform.