From cb3eb8ec56d581bf7cf3894aa87bf8227bb061ca Mon Sep 17 00:00:00 2001 From: ags131 Date: Fri, 16 May 2014 11:45:24 -0500 Subject: [PATCH] Update package.json Fixed an issue with installing where websockify.js isnt a binary Removing websockify.js from bin section allows it to install properly. Log Below: npm ERR! Error: ENOENT, chmod '/opt/nodevnc/node_modules/websockify/websockify.js' npm ERR! If you need help, you may report this log at: npm ERR! npm ERR! or email it to: npm ERR! npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node_modules/websockify/" npm ERR! cwd /opt/nodevnc npm ERR! node -v v0.10.21 npm ERR! npm -v 1.3.11 npm ERR! path /opt/nodevnc/node_modules/websockify/websockify.js npm ERR! code ENOENT npm ERR! errno 34 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /opt/nodevnc/npm-debug.log npm ERR! not ok code 0 --- other/js/package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/other/js/package.json b/other/js/package.json index c1422b8..a57ee57 100644 --- a/other/js/package.json +++ b/other/js/package.json @@ -9,9 +9,6 @@ "url": "git://github.com/kanaka/websockify.git" }, "files": ["../../docs/LICENSE.LGPL-3"], - "bin": { - "websockify": "./websockify.js" - }, "engines": { "node": ">=0.8.9" },