When I get to installing $ npm install -g sitespeed.io I received the following error
> slimerjs@0.9.2 install /root/.nvm/v0.10.34/lib/node_modules/sitespeed.io/node_modules/slimerjs
> node install.js
sh: 1: node: Permission denied
> phantomjs@1.9.12 install /root/.nvm/v0.10.34/lib/node_modules/sitespeed.io/node_modules/phantomjs
> node install.js
sh: 1: node: Permission denied
npm ERR! slimerjs@0.9.2 install: `node install.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the slimerjs@0.9.2 install script.
npm ERR! This is most likely a problem with the slimerjs 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 slimerjs
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-23-generic
npm ERR! command "/root/.nvm/v0.10.34/bin/node" "/root/.nvm/v0.10.34/bin/npm" "install" "-g" "sitespeed.io"
npm ERR! cwd /root
npm ERR! node -v v0.10.34
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
npm config set user 0
npm config set unsafe-perm true
sudo npm install -g sm
Afterwards it looked as though it was going to install, however the final output suggested I post the messages here
npm install -g sitespeed.io
> slimerjs@0.9.2 install /root/.nvm/v0.10.34/lib/node_modules/sitespeed.io/node_modules/slimerjs
> node install.js
Downloading http://download.slimerjs.org/releases/0.9.2/slimerjs-0.9.2-linux-x86_64.tar.bz2
Saving to /tmp/slimerjs/slimerjs-0.9.2-linux-x86_64.tar.bz2
Receiving...
Received 781K...
Received 1564K...
Received 2348K...
Received 3134K...
# more download stuff....
Received 27554K total.
Extracting tar contents (via spawned process)
Copying extracted folder /tmp/slimerjs/slimerjs-0.9.2-linux-x86_64.tar.bz2-extract-1419006243864/slimerjs-0.9.2 -> /root/.nvm/v0.10.34/lib/node_modules/sitespeed.io/node_modules/slimerjs/lib/slimer
Writing location.js file
Done. Slimerjs binary available at /root/.nvm/v0.10.34/lib/node_modules/sitespeed.io/node_modules/slimerjs/lib/slimer/slimerjs
> phantomjs@1.9.12 install /root/.nvm/v0.10.34/lib/node_modules/sitespeed.io/node_modules/phantomjs
> node install.js
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2
Receiving...
Error making request.
Error: CERT_UNTRUSTED
at SecurePair.<anonymous> (tls.js:1381:32)
at SecurePair.emit (events.js:92:17)
at SecurePair.maybeInitFinished (tls.js:980:10)
at CleartextStream.read [as _read] (tls.js:472:13)
at CleartextStream.Readable.read (_stream_readable.js:341:10)
at EncryptedStream.write [as _write] (tls.js:369:25)
at doWrite (_stream_writable.js:226:10)
at writeOrBuffer (_stream_writable.js:216:5)
at EncryptedStream.Writable.write (_stream_writable.js:183:11)
at write (_stream_readable.js:602:24)
Please report this full log at https://github.com/Medium/phantomjs
npm ERR! phantomjs@1.9.12 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs@1.9.12 install script.
npm ERR! This is most likely a problem with the phantomjs 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 phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-23-generic
npm ERR! command "/root/.nvm/v0.10.34/bin/node" "/root/.nvm/v0.10.34/bin/npm" "install" "-g" "sitespeed.io"
npm ERR! cwd /root
npm ERR! node -v v0.10.34
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
Any thoughts on what the issue is? I would have assumed this to be something wrong with the sitespeed.io module, but any help would be appreciated.
I'm following along with the instructions located http://www.sitespeed.io/documentation/#installationUbuntu to install sitespeed on Ubuntu.
When I get to installing
$ npm install -g sitespeed.io
I received the following errorTo fix this I tried adding the following instructions I found on http://sourcode.net/sh-1-node-permission-denied/
Afterwards it looked as though it was going to install, however the final output suggested I post the messages here
Any thoughts on what the issue is? I would have assumed this to be something wrong with the sitespeed.io module, but any help would be appreciated.