Note that there are some explanatory texts on larger screens.

plurals
  1. POInstalling Titanium ACS
    primarykey
    data
    text
    <p>We're trying to install Titaniums ACS via command line using</p> <pre><code>sudo npm -g install acs </code></pre> <p>however it keeps failing and we get the below error</p> <pre><code>npm http GET https://registry.npmjs.org/bindings &gt; bson@0.0.4 install /usr/local/lib/node_modules/acs/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson &gt; node install.js sh: node: command not found npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/acs/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf' npm ERR! If you need help, you may report this log at: npm ERR! &lt;http://github.com/isaacs/npm/issues&gt; npm ERR! or email it to: npm ERR! &lt;npm-@googlegroups.com&gt; npm ERR! System Darwin 12.3.0 npm ERR! command "node" "/usr/local/bin/npm" "-g" "install" "acs" "--color" "false" npm ERR! cwd /Users/titanium npm ERR! node -v v0.8.22 npm ERR! npm -v 1.2.14 npm ERR! path /usr/local/lib/node_modules/acs/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf npm ERR! fstream_path /usr/local/lib/node_modules/acs/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! bson@0.0.4 install: `node install.js` npm ERR! `sh "-c" "node install.js"` failed with 127 npm ERR! npm ERR! Failed at the bson@0.0.4 install script. npm ERR! This is most likely a problem with the bson package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get their info via: npm ERR! npm owner ls bson npm ERR! There is likely additional logging output above. npm ERR! System Darwin 12.3.0 npm ERR! command "node" "/usr/local/bin/npm" "-g" "install" "acs" "--color" "false" npm ERR! cwd /Users/titanium npm ERR! node -v v0.8.22 npm ERR! npm -v 1.2.14 npm ERR! code ELIFECYCLE npm http 304 https://registry.npmjs.org/qs/0.5.1 npm http 304 https://registry.npmjs.org/pause/0.0.1 npm http 304 https://registry.npmjs.org/send/0.0.4 npm http 304 https://registry.npmjs.org/bytes/0.1.0 npm http 304 https://registry.npmjs.org/bindings &gt; hiredis@0.1.15 install /usr/local/lib/node_modules/acs/node_modules/socket.io/node_modules/redis/node_modules/hiredis &gt; node-gyp rebuild /usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found npm WARN optional dep failed, continuing hiredis@0.1.15 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/titanium/npm-debug.log npm ERR! not ok code 0 iMac:~ titanium$ node-gyp -bash: node-gyp: command not found iMac:~ titanium$ hiredis -bash: hiredis: command not found iMac:~ titanium$ apt-get install homebrew -bash: apt-get: command not found iMac:~ titanium$ node &gt; echo 1 ... exit ... no ... &gt; (^C again to quit) &gt; iMac:~ titanium$ node install.js module.js:340 throw err; ^ Error: Cannot find module '/Users/titanium/install.js' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.runMain (module.js:492:10) at process.startup.processNextTick.process._tickCallback (node.js:245:9) </code></pre> <p>However we can type node into the terminal and it runs it fine, and loads of node functionality works perfectly.</p> <p>If anybody has any insights to this issue it would be very helpful.</p> <p>Thank you</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload