Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

Install Binder On Customized Ubuntu Hardware #78

Open
tianchuliang opened this issue Sep 15, 2016 · 0 comments
Open

Install Binder On Customized Ubuntu Hardware #78

tianchuliang opened this issue Sep 15, 2016 · 0 comments

Comments

@tianchuliang
Copy link

**Hi,

I am trying to install Binder on a Ubuntu 14.04 machine, NOT on a GCE hosted VM, and I encountered the following errors when I execute sudo npm install binder-control -g:**

`npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN optional dep failed, continuing fsevents@1.0.14

websocket@1.0.23 install /usr/lib/node_modules/binder-control/node_modules/binder-logging/node_modules/websocket
(node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory /usr/lib/node_modules/binder-control/node_modules/binder-logging/node_modules/websocket/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node COPY Release/validation.node make: Leaving directory/usr/lib/node_modules/binder-control/node_modules/binder-logging/node_modules/websocket/build'
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

fibers@1.0.14 install /usr/lib/node_modules/binder-control/node_modules/binder-deploy-kubernetes/node_modules/wait.for/node_modules/fibers
node build.js || nodejs build.js

linux-x64-v8-4.5 exists; testing
Binary is fine; exiting

binder-db@1.0.1 postinstall /usr/lib/node_modules/binder-control/node_modules/binder-db
node scripts/postinstall.js

fs.js:794
return binding.mkdir(pathModule._makeLong(path),
^

Error: EACCES: permission denied, mkdir '/home/alex/.binder'
at Error (native)
at Object.fs.mkdirSync (fs.js:794:18)
at /usr/lib/node_modules/binder-control/node_modules/binder-db/scripts/postinstall.js:12:8
at FSReqWrap.cb as oncomplete

npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.

binder-build-core@1.0.12 postinstall /usr/lib/node_modules/binder-control/node_modules/binder-build/node_modules/binder-build-core
node scripts/postinstall.js

fs.js:794
return binding.mkdir(pathModule._makeLong(path),
^

Error: EACCES: permission denied, mkdir '/home/alex/.binder'
at Error (native)
at Object.fs.mkdirSync (fs.js:794:18)
at /usr/lib/node_modules/binder-control/node_modules/binder-build/node_modules/binder-build-core/scripts/postinstall.js:12:8
at FSReqWrap.cb as oncomplete

binder-logging@1.0.3 postinstall /usr/lib/node_modules/binder-control/node_modules/binder-logging
node scripts/postinstall.js

fs.js:794
return binding.mkdir(pathModule._makeLong(path),
^

Error: EACCES: permission denied, mkdir '/home/alex/.binder'
at Error (native)
at Object.fs.mkdirSync (fs.js:794:18)
at /usr/lib/node_modules/binder-control/node_modules/binder-logging/scripts/postinstall.js:12:8
at FSReqWrap.cb as oncomplete

binder-health-checker@1.0.2 postinstall /usr/lib/node_modules/binder-control/node_modules/binder-health-checker
node scripts/postinstall.js

fs.js:794
return binding.mkdir(pathModule._makeLong(path),
^

Error: EACCES: permission denied, mkdir '/home/alex/.binder'
at Error (native)
at Object.fs.mkdirSync (fs.js:794:18)
at Object. (/usr/lib/node_modules/binder-control/node_modules/binder-health-checker/scripts/postinstall.js:13:6)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:974:3

binder-web@1.1.15 postinstall /usr/lib/node_modules/binder-control/node_modules/binder-web
npm run bundle && node scripts/postinstall.js

binder-web@1.1.15 bundle /usr/lib/node_modules/binder-control/node_modules/binder-web
npm run bundle:index & npm run bundle:logs & npm run bundle:loading & npm run bundle:status

binder-web@1.1.15 bundle:logs /usr/lib/node_modules/binder-control/node_modules/binder-web
browserify site/logs.js -o public/js/logs.js

binder-web@1.1.15 bundle:status /usr/lib/node_modules/binder-control/node_modules/binder-web
browserify site/status.js -o public/js/status.js

binder-web@1.1.15 bundle:loading /usr/lib/node_modules/binder-control/node_modules/binder-web
browserify site/loading.js -o public/js/loading.js

binder-web@1.1.15 bundle:index /usr/lib/node_modules/binder-control/node_modules/binder-web
browserify -t envify -t brfs site/index.js -o public/js/index.js

Error: ENOENT: no such file or directory, open '/home/alex/.binder/web.conf' while parsing file: /usr/lib/node_modules/binder-control/node_modules/binder-web/server/settings.js
at Error (native)

npm ERR! Linux 3.19.0-33-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "bundle:index"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! binder-web@1.1.15 bundle:index: browserify -t envify -t brfs site/index.js -o public/js/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the binder-web@1.1.15 bundle:index script 'browserify -t envify -t brfs site/index.js -o public/js/index.js'.
npm ERR! This is most likely a problem with the binder-web package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! browserify -t envify -t brfs site/index.js -o public/js/index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs binder-web
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls binder-web
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /usr/lib/node_modules/binder-control/node_modules/binder-web/npm-debug.log
fs.js:794
return binding.mkdir(pathModule._makeLong(path),
^

Error: EACCES: permission denied, mkdir '/home/alex/.binder'
at Error (native)
at Object.fs.mkdirSync (fs.js:794:18)
at Object. (/usr/lib/node_modules/binder-control/node_modules/binder-web/scripts/postinstall.js:13:6)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:974:3

binder-deploy-kubernetes@1.1.1 postinstall /usr/lib/node_modules/binder-control/node_modules/binder-deploy-kubernetes
node scripts/postinstall.js

fs.js:794
return binding.mkdir(pathModule._makeLong(path),
^

Error: EACCES: permission denied, mkdir '/home/alex/.binder'
at Error (native)
at Object.fs.mkdirSync (fs.js:794:18)
at Object. (/usr/lib/node_modules/binder-control/node_modules/binder-deploy-kubernetes/scripts/postinstall.js:13:6)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:974:3
npm ERR! Linux 3.19.0-33-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "binder-control" "-g"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE

npm ERR! binder-db@1.0.1 postinstall: node scripts/postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the binder-db@1.0.1 postinstall script 'node scripts/postinstall.js'.
npm ERR! This is most likely a problem with the binder-db package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/postinstall.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs binder-db
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls binder-db
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/alex/npm-debug.log`

**I am particularly puzzled by errors related to 'permission denied, mkdir...'.
I would really appreciate it if someone on the binder project team can share some insight on this problem. Much appreciated!

Alex**

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant