Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Joyent default node box #6

Open
kumavis opened this issue May 30, 2015 · 0 comments
Open

Support Joyent default node box #6

kumavis opened this issue May 30, 2015 · 0 comments

Comments

@kumavis
Copy link

kumavis commented May 30, 2015

Free tier Joyent node box doesn't have enough memory to compile so I found myself here. However, seems SunOS is not popular enough to have a prebuilt binary : P
Just posting my findings

[root@fa5bd1e6-9443-4cd5-b1f1-889c38bebe80 ~/vapor-db]# uname -a
SunOS fa5bd1e6-9443-4cd5-b1f1-889c38bebe80 5.11 joyent_20150219T091122Z i86pc i386 i86pc Solaris
[root@fa5bd1e6-9443-4cd5-b1f1-889c38bebe80 ~/vapor-db]# npm i
npm WARN package.json vapor-db@1.0.0 No description
npm WARN package.json vapor-db@1.0.0 No repository field.
npm WARN package.json vapor-db@1.0.0 No README data
-
> leveldown@1.0.7 install /root/vapor-db/node_modules/level/node_modules/leveldown
> node-gyp rebuild
[root@fa5bd1e6-9443-4cd5-b1f1-889c38bebe80 ~/vapor-db]# npm start

> vapor-db@1.0.0 start /root/vapor-db
> node index.js

module.js:338
    throw err;
          ^
Error: Cannot find module '/root/vapor-db/node_modules/level-prebuilt/node_modules/leveldown-prebuilt/build-pre-gyp/leveldown.node'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/root/vapor-db/node_modules/level-prebuilt/node_modules/leveldown-prebuilt/prebuilt.js:5:18)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)

npm ERR! SunOS 5.11
npm ERR! argv "/opt/local/bin/node" "/opt/local/bin/npm" "start"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! vapor-db@1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the vapor-db@1.0.0 start script 'node index.js'.
npm ERR! This is most likely a problem with the vapor-db package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node index.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls vapor-db
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/vapor-db/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant