Closed kumavis closed 9 years ago
hmmm actually I guess I don't know what the problem is -- it seemed to install and compile on Modulus bottom tier fine, with less memory, but then fails when actually running. This is a fresh install.
Found package.json: ./package.json
Start script specified in package.json: node index.js
Initializing Node.js 0.12.4
Now using node v0.12.4
Running command: npm start
> vapor-db@1.0.0 start /mnt/app
> node index.js
/mnt/app/node_modules/level/node_modules/leveldown/node_modules/bindings/bindings.js:83
throw e
^
Error: Module did not self-register.
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at bindings (/mnt/app/node_modules/level/node_modules/leveldown/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/mnt/app/node_modules/level/node_modules/leveldown/leveldown.js:4:46)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
npm ERR! Linux 3.13.0-48-generic
npm ERR! argv "/mnt/home/.nvm/versions/node/v0.12.4/bin/node" "/mnt/home/.nvm/versions/node/v0.12.4/bin/npm" "start"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! code ELIFECYCLE
npm ERR! vapor-db@1.0.0 start: `node index.js`
npm ERR! Exit status 1
This should be solved by using prebuilt binaries, see https://github.com/Level/leveldown/issues/95
@ralphtheninja thanks!
@kumavis Still a work in progress though :)
I'll report how it goes -- basic Joyent node box is SunOS -- not too optimistic
I imagine this is a #wontfix but found that I couldn't compile levelDB on Joyent's free tier node box (256mb memory).
Close this as you will.