Closed rossmounce closed 10 years ago
Very odd - I'll play with installing it in a few VMs and get back to you with a fix
OK, please see the update installation instructions: https://github.com/ContentMine/quickscrape. I tested on 3 ubuntu versions (12.04, 13.10 and 14.10) and on Debian wheezy.
the URL shorterner link didn't seem to work for me (flaky internet?), so I tried the gist script. Still having problems. Perhaps I need to fully clean-out what I had before?
$ curl -sSL http://git.io/MN9b2A | sudo bash [sudo] password for ross: curl: (6) Could not resolve host: git.io ross@rm-dualcore:~/workspace/quickscrape$ curl -sSL http://git.io/MN9b2A | sudo bash curl: (6) Could not resolve host: git.io ross@rm-dualcore:~/workspace/quickscrape$ bash install_qs.sh Ubuntu detected: using Chris Lea's PPA repo E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? Error: must run as priviledged user E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? npm http GET https://registry.npmjs.org/casperjs npm http GET https://registry.npmjs.org/quickscrape npm http 304 https://registry.npmjs.org/casperjs npm http 304 https://registry.npmjs.org/quickscrape npm ERR! error rolling back Error: EACCES, unlink '/usr/local/bin/quickscrape' npm ERR! error rolling back quickscrape@0.1.4 { [Error: EACCES, unlink '/usr/local/bin/quickscrape'] errno: 3, code: 'EACCES', path: '/usr/local/bin/quickscrape' } npm ERR! Error: EACCES, unlink '/usr/local/bin/quickscrape' npm ERR! { [Error: EACCES, unlink '/usr/local/bin/quickscrape'] errno: 3, code: 'EACCES', path: '/usr/local/bin/quickscrape' } npm ERR! npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--global" "casperjs" "quickscrape"
npm ERR! cwd /home/ross/workspace/quickscrape
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/bin/quickscrape
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/usr/local/bin/quickscrape'
npm ERR! error rolling back Error: EACCES, unlink '/usr/local/bin/casperjs'
npm ERR! error rolling back casperjs@1.1.0-beta3 { [Error: EACCES, unlink '/usr/local/bin/casperjs'] errno: 3, code: 'EACCES', path: '/usr/local/bin/casperjs' }
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ross/workspace/quickscrape/npm-debug.log
npm ERR! not ok code 0
ross@rm-dualcore:~/workspace/quickscrape$ sudo bash install_qs.sh
Ubuntu detected: using Chris Lea's PPA repo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
python3-software-properties software-properties-gtk
The following packages will be upgraded:
python-software-properties python3-software-properties software-properties-common software-properties-gtk
4 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
Need to get 95.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main software-properties-gtk all 0.92.37.1 [46.9 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main software-properties-common all 0.92.37.1 [9,382 B]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main python3-software-properties all 0.92.37.1 [19.2 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-software-properties all 0.92.37.1 [19.6 kB]
Fetched 95.1 kB in 0s (538 kB/s)
(Reading database ... 326870 files and directories currently installed.)
Preparing to unpack .../software-properties-gtk_0.92.37.1_all.deb ...
Unpacking software-properties-gtk (0.92.37.1) over (0.92.36) ...
Preparing to unpack .../software-properties-common_0.92.37.1_all.deb ...
Unpacking software-properties-common (0.92.37.1) over (0.92.36) ...
Preparing to unpack .../python3-software-properties_0.92.37.1_all.deb ...
Unpacking python3-software-properties (0.92.37.1) over (0.92.36) ...
Preparing to unpack .../python-software-properties_0.92.37.1_all.deb ...
Unpacking python-software-properties (0.92.37.1) over (0.92.36) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up python3-software-properties (0.92.37.1) ...
Setting up software-properties-common (0.92.37.1) ...
Setting up software-properties-gtk (0.92.37.1) ...
Setting up python-software-properties (0.92.37.1) ...
gpg: keyring /tmp/tmpkuslcbja/secring.gpg' created gpg: keyring
/tmp/tmpkuslcbja/pubring.gpg' created
gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpkuslcbja/trustdb.gpg: trustdb created
gpg: key C7917B12: public key "Launchpad chrislea" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Ign http://ppa.launchpad.net trusty InRelease
Ign http://gb.archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Get:1 http://ppa.launchpad.net trusty Release.gpg [316 B]
Ign http://dl.google.com stable InRelease
Ign http://gb.archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Get:2 http://ppa.launchpad.net trusty Release [14.0 kB]
Ign http://gb.archive.ubuntu.com trusty-backports InRelease
Hit http://security.ubuntu.com trusty-security Release
Hit http://gb.archive.ubuntu.com trusty Release.gpg
Ign http://dl.google.com stable InRelease
Hit http://gb.archive.ubuntu.com trusty-updates Release.gpg
Get:3 http://gb.archive.ubuntu.com trusty-backports Release.gpg [933 B]
Hit http://deb.opera.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://gb.archive.ubuntu.com trusty Release
Hit http://gb.archive.ubuntu.com trusty-updates Release
Hit http://dl.google.com stable Release.gpg
Get:4 http://gb.archive.ubuntu.com trusty-backports Release [58.6 kB]
Hit http://security.ubuntu.com trusty-security/main Sources
Get:5 http://ppa.launchpad.net trusty/main amd64 Packages [1,120 B]
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://dl.google.com stable Release
Hit http://deb.opera.com stable/non-free amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty/main Sources
Get:6 http://ppa.launchpad.net trusty/main i386 Packages [1,130 B]
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted Sources
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://dl.google.com stable Release
Hit http://gb.archive.ubuntu.com trusty/universe Sources
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_GB
Ign http://ppa.launchpad.net trusty/main Translation-en
Hit http://dl.google.com stable/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages
Ign http://deb.opera.com stable/non-free Translation-en_GB
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://dl.google.com stable/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB
Ign http://deb.opera.com stable/non-free Translation-en
Hit http://gb.archive.ubuntu.com trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/main Sources
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://gb.archive.ubuntu.com trusty-updates/universe Sources
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Ign http://security.ubuntu.com trusty-security/main Translation-en_GB
Ign http://security.ubuntu.com trusty-security/multiverse Translation-en_GB
Ign http://security.ubuntu.com trusty-security/restricted Translation-en_GB
Ign http://security.ubuntu.com trusty-security/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en
Get:7 http://gb.archive.ubuntu.com trusty-backports/main Sources [14 B]
Get:8 http://gb.archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Ign http://dl.google.com stable/main Translation-en_GB
Get:9 http://gb.archive.ubuntu.com trusty-backports/universe Sources [5,045 B]
Ign http://dl.google.com stable/main Translation-en
Get:10 http://gb.archive.ubuntu.com trusty-backports/multiverse Sources [768 B]
Get:11 http://gb.archive.ubuntu.com trusty-backports/main amd64 Packages [14 B]
Get:12 http://gb.archive.ubuntu.com trusty-backports/restricted amd64 Packages [14 B]
Ign http://dl.google.com stable/main Translation-en_GB
Ign http://dl.google.com stable/main Translation-en
Get:13 http://gb.archive.ubuntu.com trusty-backports/universe amd64 Packages [5,764 B]
Get:14 http://gb.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [619 B]
Get:15 http://gb.archive.ubuntu.com trusty-backports/main i386 Packages [14 B]
Get:16 http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:17 http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages [5,773 B]
Get:18 http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages [619 B]
Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://gb.archive.ubuntu.com trusty-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/universe Translation-en_GB
Fetched 94.8 kB in 1s (59.5 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
make is already the newest version.
make set to manually installed.
python is already the newest version.
python set to manually installed.
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
rlwrap
The following packages will be REMOVED
nodejs-dev npm
The following NEW packages will be installed
rlwrap
The following packages will be upgraded:
nodejs
1 to upgrade, 1 to newly install, 2 to remove and 232 not to upgrade.
Need to get 4,333 kB of archives.
After this operation, 12.0 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/chris-lea/node.js/ubuntu/ trusty/main nodejs amd64 0.10.28-1chl1~trusty1 [4,260 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe rlwrap amd64 0.37-5 [73.4 kB]
Fetched 4,333 kB in 4s (1,029 kB/s)
(Reading database ... 326869 files and directories currently installed.)
Removing npm (1.3.10~dfsg-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Selecting previously unselected package rlwrap.
(Reading database ... 326308 files and directories currently installed.)
Preparing to unpack .../rlwrap_0.37-5_amd64.deb ...
Unpacking rlwrap (0.37-5) ...
Processing triggers for man-db (2.6.7.1-1) ...
dpkg: nodejs-dev: dependency problems, but removing anyway as you requested:
node-gyp depends on nodejs-dev.
(Reading database ... 326338 files and directories currently installed.)
Removing nodejs-dev (0.10.25~dfsg2-2ubuntu1) ...
(Reading database ... 326272 files and directories currently installed.)
Preparing to unpack .../nodejs_0.10.28-1chl1~trusty1_amd64.deb ...
Unpacking nodejs (0.10.28-1chl1~trusty1) over (0.10.25~dfsg2-2ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up rlwrap (0.37-5) ...
update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode
Setting up nodejs (0.10.28-1chl1~trusty1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
phantomjs is already the newest version.
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
npm http GET https://registry.npmjs.org/casperjs
npm http GET https://registry.npmjs.org/quickscrape
npm http 304 https://registry.npmjs.org/casperjs
npm http 304 https://registry.npmjs.org/quickscrape
npm http GET https://registry.npmjs.org/xpath
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/spooky
npm http GET https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/download
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/jsdom
npm http 304 https://registry.npmjs.org/download
npm http 200 https://registry.npmjs.org/xpath
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/spooky
npm http 304 https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/xpath/-/xpath-0.0.6.tgz
npm http 304 https://registry.npmjs.org/winston
npm http 200 https://registry.npmjs.org/xpath/-/xpath-0.0.6.tgz
npm http GET https://registry.npmjs.org/each-async
npm http GET https://registry.npmjs.org/decompress
npm http GET https://registry.npmjs.org/get-stdin
npm http GET https://registry.npmjs.org/get-urls
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/through2
npm http 304 https://registry.npmjs.org/get-urls
npm http 304 https://registry.npmjs.org/get-stdin
npm http 304 https://registry.npmjs.org/each-async
npm http 304 https://registry.npmjs.org/decompress
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/through2
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/carrier
npm http GET https://registry.npmjs.org/tiny-jsonrpc
npm http GET https://registry.npmjs.org/duplexer
npm http GET https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/duplexer
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/carrier
npm http 304 https://registry.npmjs.org/tiny-jsonrpc
npm http 200 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/map-key
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/adm-zip
npm http GET https://registry.npmjs.org/stream-combiner
npm http GET https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/tempfile
npm http GET https://registry.npmjs.org/extname
npm http GET https://registry.npmjs.org/xtend
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/map-key
npm http 304 https://registry.npmjs.org/stream-combiner
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/adm-zip
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/tempfile
npm http 304 https://registry.npmjs.org/extname
npm http 304 https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/contextify
npm http GET https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/nwmatcher
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/nwmatcher
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/cssom
npm http 200 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/htmlparser2
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
npm http 304 https://registry.npmjs.org/string_decoder
npm http 200 https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/aws-sign2
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/uuid
npm http 304 https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/ext-list
npm http 304 https://registry.npmjs.org/tough-cookie
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/ext-list
npm http 304 https://registry.npmjs.org/uuid
npm http GET https://registry.npmjs.org/object-keys
npm http 304 https://registry.npmjs.org/object-keys
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/ctype
npm http GET https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/asn1
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/combined-stream
npm http 200 https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz
npm http 200 https://registry.npmjs.org/ctype
npm http GET https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz
npm http 200 https://registry.npmjs.org/assert-plus
npm http 200 https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz
npm http GET https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz
npm http 200 https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz
npm http 200 https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz
npm http GET https://registry.npmjs.org/fstream
npm http GET https://registry.npmjs.org/block-stream
npm http 304 https://registry.npmjs.org/fstream
contextify@0.1.8 install /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/ross/.node-gyp/0.10.28" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify/.node-gyp" gyp http GET http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz gyp http GET http://nodejs.org/dist/v0.10.28/SHASUMS.txt gyp http 200 http://nodejs.org/dist/v0.10.28/SHASUMS.txt Usage: gyp_main.py [options ...] [build_file ...]
gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 2
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:340:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http GET https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/block-stream
npm http GET https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/entities
npm http 200 https://registry.npmjs.org/delayed-stream
npm http GET https://registry.npmjs.org/punycode
npm http 304 https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/domhandler
npm http 304 https://registry.npmjs.org/domutils
npm http 304 https://registry.npmjs.org/punycode
npm http 304 https://registry.npmjs.org/entities
npm http 304 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz
npm http 200 https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/phantomjs
npm http GET https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/cryptiles
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm http 304 https://registry.npmjs.org/phantomjs
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/npmconf
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/kew
npm http 304 https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/kew
npm http 200 https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz
npm http 200 https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz
npm http 200 https://registry.npmjs.org/npmconf
npm http GET https://registry.npmjs.org/npmconf/-/npmconf-0.0.24.tgz
npm http 200 https://registry.npmjs.org/npmconf/-/npmconf-0.0.24.tgz
npm http GET https://registry.npmjs.org/osenv
npm http GET https://registry.npmjs.org/config-chain
npm http GET https://registry.npmjs.org/once
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/ini
npm http 200 https://registry.npmjs.org/osenv
npm http GET https://registry.npmjs.org/osenv/-/osenv-0.0.3.tgz
npm http 304 https://registry.npmjs.org/ini
npm http 304 https://registry.npmjs.org/once
npm http 304 https://registry.npmjs.org/config-chain
npm http 304 https://registry.npmjs.org/semver
npm http 200 https://registry.npmjs.org/osenv/-/osenv-0.0.3.tgz
npm http GET https://registry.npmjs.org/proto-list
npm http 304 https://registry.npmjs.org/proto-list
phantomjs@1.9.7-8 install /usr/lib/node_modules/casperjs/node_modules/phantomjs node install.js
PhantomJS detected, but wrong version 1.9.0 @ /usr/bin/phantomjs.
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
Saving to /usr/lib/node_modules/casperjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2
Receiving...
Received 12852K total.
Extracting tar contents (via spawned process)
Copying extracted folder /usr/lib/node_modules/casperjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2-extract-1401640137581/phantomjs-1.9.7-linux-x86_64 -> /usr/lib/node_modules/casperjs/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /usr/lib/node_modules/casperjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
npm ERR! contextify@0.1.8 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.8 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "casperjs" "quickscrape"
npm ERR! cwd /home/ross/workspace/quickscrape
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
/usr/bin/casperjs -> /usr/lib/node_modules/casperjs/bin/casperjs
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ross/workspace/quickscrape/npm-debug.log
npm ERR! not ok code 0
ross@rm-dualcore:~/workspace/quickscrape$ sudo bash install_qs.sh
Ubuntu detected: using Chris Lea's PPA repo
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version.
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
gpg: keyring /tmp/tmp9y1re_ob/secring.gpg' created gpg: keyring
/tmp/tmp9y1re_ob/pubring.gpg' created
gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp9y1re_ob/trustdb.gpg: trustdb created
gpg: key C7917B12: public key "Launchpad chrislea" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Ign http://ppa.launchpad.net trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://gb.archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://dl.google.com stable InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://deb.opera.com stable InRelease
Ign http://gb.archive.ubuntu.com trusty-updates InRelease
Hit http://ppa.launchpad.net trusty Release
Hit http://security.ubuntu.com trusty-security Release
Ign http://gb.archive.ubuntu.com trusty-backports InRelease
Ign http://dl.google.com stable InRelease
Hit http://gb.archive.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://deb.opera.com stable/non-free amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://gb.archive.ubuntu.com trusty-updates Release.gpg
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://dl.google.com stable Release.gpg
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://gb.archive.ubuntu.com trusty-backports Release.gpg
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://gb.archive.ubuntu.com trusty Release
Hit http://dl.google.com stable Release.gpg
Hit http://gb.archive.ubuntu.com trusty-updates Release
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports Release
Hit http://dl.google.com stable Release
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/main Sources
Hit http://gb.archive.ubuntu.com trusty/restricted Sources
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://dl.google.com stable Release
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/universe Sources
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse Sources
Hit http://dl.google.com stable/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en_GB
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://gb.archive.ubuntu.com trusty/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages
Ign http://deb.opera.com stable/non-free Translation-en_GB
Ign http://deb.opera.com stable/non-free Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/main Sources
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://gb.archive.ubuntu.com trusty-updates/universe Sources
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Ign http://security.ubuntu.com trusty-security/main Translation-en_GB
Hit http://dl.google.com stable/main i386 Packages
Ign http://security.ubuntu.com trusty-security/multiverse Translation-en_GB
Ign http://security.ubuntu.com trusty-security/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty-updates/main i386 Packages
Ign http://security.ubuntu.com trusty-security/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/main Sources
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://gb.archive.ubuntu.com trusty-backports/universe Sources
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en
Ign http://dl.google.com stable/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en
Ign http://dl.google.com stable/main Translation-en
Ign http://dl.google.com stable/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en
Ign http://dl.google.com stable/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://gb.archive.ubuntu.com trusty-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/universe Translation-en_GB
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
make is already the newest version.
python is already the newest version.
nodejs is already the newest version.
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
Reading package lists... Done
Building dependency tree
Reading state information... Done
phantomjs is already the newest version.
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
npm http GET https://registry.npmjs.org/casperjs
npm http GET https://registry.npmjs.org/quickscrape
npm http 304 https://registry.npmjs.org/casperjs
npm http 304 https://registry.npmjs.org/quickscrape
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/spooky
npm http GET https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/download
npm http GET https://registry.npmjs.org/xpath
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/xpath
npm http 304 https://registry.npmjs.org/spooky
npm http 304 https://registry.npmjs.org/jsdom
npm http 304 https://registry.npmjs.org/download
npm http 304 https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/get-stdin
npm http GET https://registry.npmjs.org/get-urls
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/through2
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/decompress
npm http GET https://registry.npmjs.org/each-async
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/get-stdin
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/through2
npm http 304 https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/tiny-jsonrpc
npm http GET https://registry.npmjs.org/carrier
npm http GET https://registry.npmjs.org/duplexer
npm http GET https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/get-urls
npm http 304 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/decompress
npm http 304 https://registry.npmjs.org/each-async
npm http GET https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/tiny-jsonrpc
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/carrier
npm http 304 https://registry.npmjs.org/duplexer
npm http 304 https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/adm-zip
npm http GET https://registry.npmjs.org/extname
npm http GET https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/map-key
npm http GET https://registry.npmjs.org/tempfile
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/stream-combiner
npm http GET https://registry.npmjs.org/nwmatcher
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/extname
npm http GET https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/adm-zip
npm http 304 https://registry.npmjs.org/tar
npm http 304 https://registry.npmjs.org/tempfile
npm http 304 https://registry.npmjs.org/map-key
npm http 304 https://registry.npmjs.org/htmlparser2
npm http 304 https://registry.npmjs.org/stream-combiner
npm http 304 https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/aws-sign2
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/cssom
npm http 304 https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/nwmatcher
npm http 304 https://registry.npmjs.org/xtend
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/uuid
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/aws-sign2
npm http GET https://registry.npmjs.org/ext-list
npm http GET https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/object-keys
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/uuid
npm http 304 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/ext-list
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/object-keys
npm http GET https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/ctype
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/asn1
npm http 304 https://registry.npmjs.org/assert-plus
npm http 304 https://registry.npmjs.org/ctype
npm http GET https://registry.npmjs.org/block-stream
npm http GET https://registry.npmjs.org/fstream
npm http GET https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/fstream
npm http 304 https://registry.npmjs.org/block-stream
contextify@0.1.8 install /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/ross/.node-gyp/0.10.28" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify/.node-gyp" gyp http GET http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz gyp http GET http://nodejs.org/dist/v0.10.28/SHASUMS.txt gyp http GET http://nodejs.org/dist/v0.10.28/SHASUMS.txt gyp http 200 http://nodejs.org/dist/v0.10.28/SHASUMS.txt gyp http 200 http://nodejs.org/dist/v0.10.28/SHASUMS.txt Usage: gyp_main.py [options ...] [build_file ...]
gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 2
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:340:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/aws-sign
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm http GET https://registry.npmjs.org/entities
npm http GET https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/punycode
npm http 304 https://registry.npmjs.org/entities
npm http 304 https://registry.npmjs.org/domhandler
npm http 304 https://registry.npmjs.org/domelementtype
npm http 304 https://registry.npmjs.org/domutils
npm http 304 https://registry.npmjs.org/punycode
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/phantomjs
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.28","npm":"1.4.9"})
npm http 304 https://registry.npmjs.org/phantomjs
npm http GET https://registry.npmjs.org/kew
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/npmconf
npm http 304 https://registry.npmjs.org/kew
npm http 304 https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/npmconf
npm http GET https://registry.npmjs.org/config-chain
npm http GET https://registry.npmjs.org/once
npm http GET https://registry.npmjs.org/osenv
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/ini
npm http 304 https://registry.npmjs.org/ini
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/once
npm http 304 https://registry.npmjs.org/config-chain
npm http 304 https://registry.npmjs.org/osenv
npm http GET https://registry.npmjs.org/proto-list
npm http 304 https://registry.npmjs.org/proto-list
phantomjs@1.9.7-8 install /usr/lib/node_modules/casperjs/node_modules/phantomjs node install.js
PhantomJS detected, but wrong version 1.9.0 @ /usr/bin/phantomjs.
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
Saving to /usr/lib/node_modules/casperjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2
Receiving...
Received 12852K total.
Extracting tar contents (via spawned process)
Copying extracted folder /usr/lib/node_modules/casperjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2-extract-1401640270903/phantomjs-1.9.7-linux-x86_64 -> /usr/lib/node_modules/casperjs/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /usr/lib/node_modules/casperjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
npm ERR! contextify@0.1.8 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.8 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "casperjs" "quickscrape"
npm ERR! cwd /home/ross/workspace/quickscrape
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
/usr/bin/casperjs -> /usr/lib/node_modules/casperjs/bin/casperjs
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ross/workspace/quickscrape/npm-debug.log
npm ERR! not ok code 0
You need to run the bash script as sudo
I did that, if you see a few lines further down. (apologies for the massively long screen dump!)
OK, it's all working except the last npm step, which is the same bug as #1. Try this:
sudo npm install --global --unsafe-perms quickscrape
Um... still no dice.
I tried lots of things. How exactly should the script look like that I should run?
I tried:
...
fi
# old line commented out
sudo npm install --global --unsafe-perms quickscrape casperjs
as well as :
...
fi
npm install --global casperjs
npm install --global --unsafe-perms quickscrape
as well as:
fi
npm install --global casperjs
sudo npm install --global --unsafe-perms quickscrape
and variations on theme... Nothing worked.
Are you getting the same error every time?
it should look like:
sudo npm install --global --unsafe-perms casperjs quickscrape
last thing to try is:
env SUDO_UID= SUDO_USER= npm i
sudo npm install --global casperjs quickscrape
Will try the env method next. Here's output for the sudo npm...
:~/workspace/quickscrape$ cat install_qs.sh
if [[ $(uname -v) =~ Debian ]]; then
echo "Debian detected: installing backports"
echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y nodejs
apt-get install -y nodejs-legacy
curl --insecure https://www.npmjs.org/install.sh | bash
fi
if [[ $(uname -v) =~ Ubuntu ]]; then
echo "Ubuntu detected: using Chris Lea's PPA repo"
apt-get install -y software-properties-common python-software-properties
add-apt-repository -y ppa:chris-lea/node.js
apt-get update
apt-get install -y python g++ make nodejs
apt-get install phantomjs
fi
sudo npm install --global --unsafe-perms casperjs quickscrape
ross@rm-dualcore:~/workspace/quickscrape$ sudo bash install_qs.sh
Ubuntu detected: using Chris Lea's PPA repo
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version.
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
gpg: keyring /tmp/tmpbrx011rn/secring.gpg' created gpg: keyring
/tmp/tmpbrx011rn/pubring.gpg' created
gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpbrx011rn/trustdb.gpg: trustdb created
gpg: key C7917B12: public key "Launchpad chrislea" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Ign http://ppa.launchpad.net trusty InRelease
Ign http://gb.archive.ubuntu.com trusty InRelease
Ign http://dl.google.com stable InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://gb.archive.ubuntu.com trusty-updates InRelease
Hit http://deb.opera.com stable InRelease
Ign http://gb.archive.ubuntu.com trusty-backports InRelease
Hit http://ppa.launchpad.net trusty Release
Ign http://dl.google.com stable InRelease
Hit http://gb.archive.ubuntu.com trusty Release.gpg
Hit http://gb.archive.ubuntu.com trusty-updates Release.gpg
Get:1 http://gb.archive.ubuntu.com trusty-backports Release.gpg [933 B]
Hit http://dl.google.com stable Release.gpg
Hit http://gb.archive.ubuntu.com trusty Release
Hit http://gb.archive.ubuntu.com trusty-updates Release
Hit http://dl.google.com stable Release.gpg
Get:2 http://gb.archive.ubuntu.com trusty-backports Release [58.6 kB]
Hit http://deb.opera.com stable/non-free amd64 Packages
Hit http://dl.google.com stable Release
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://dl.google.com stable Release
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main Sources
Hit http://gb.archive.ubuntu.com trusty/restricted Sources
Hit http://gb.archive.ubuntu.com trusty/universe Sources
Hit http://dl.google.com stable/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/main i386 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://dl.google.com stable/main i386 Packages
Ign http://deb.opera.com stable/non-free Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages
Ign http://deb.opera.com stable/non-free Translation-en
Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/main Translation-en
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/main Sources
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://gb.archive.ubuntu.com trusty-updates/universe Sources
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://gb.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Get:3 http://gb.archive.ubuntu.com trusty-backports/main Sources [14 B]
Get:4 http://gb.archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Ign http://dl.google.com stable/main Translation-en_GB
Get:5 http://gb.archive.ubuntu.com trusty-backports/universe Sources [5,045 B]
Get:6 http://gb.archive.ubuntu.com trusty-backports/multiverse Sources [768 B]
Get:7 http://gb.archive.ubuntu.com trusty-backports/main amd64 Packages [14 B]
Ign http://dl.google.com stable/main Translation-en
Get:8 http://gb.archive.ubuntu.com trusty-backports/restricted amd64 Packages [14 B]
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Ign http://dl.google.com stable/main Translation-en_GB
Ign http://dl.google.com stable/main Translation-en
Get:9 http://gb.archive.ubuntu.com trusty-backports/universe amd64 Packages [5,764 B]
Get:10 http://gb.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [619 B]
Get:11 http://gb.archive.ubuntu.com trusty-backports/main i386 Packages [14 B]
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Get:12 http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:13 http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages [5,773 B]
Get:14 http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages [619 B]
Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Ign http://gb.archive.ubuntu.com trusty-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-updates/universe Translation-en_GB
Hit http://security.ubuntu.com trusty-security/main Translation-en
Ign http://gb.archive.ubuntu.com trusty-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com trusty-backports/universe Translation-en_GB
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://security.ubuntu.com trusty-security/main Translation-en_GB
Ign http://security.ubuntu.com trusty-security/multiverse Translation-en_GB
Ign http://security.ubuntu.com trusty-security/restricted Translation-en_GB
Ign http://security.ubuntu.com trusty-security/universe Translation-en_GB
Fetched 78.2 kB in 3s (21.9 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
make is already the newest version.
python is already the newest version.
nodejs is already the newest version.
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
Reading package lists... Done
Building dependency tree
Reading state information... Done
phantomjs is already the newest version.
The following packages were automatically installed and are no longer required:
gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry
node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
npm http GET https://registry.npmjs.org/casperjs
npm http GET https://registry.npmjs.org/quickscrape
npm http 304 https://registry.npmjs.org/quickscrape
npm http 304 https://registry.npmjs.org/casperjs
npm http GET https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/spooky
npm http GET https://registry.npmjs.org/download
npm http GET https://registry.npmjs.org/xpath
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/spooky
npm http 304 https://registry.npmjs.org/jsdom
npm http 304 https://registry.npmjs.org/download
npm http 304 https://registry.npmjs.org/xpath
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/get-stdin
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/get-urls
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/through2
npm http GET https://registry.npmjs.org/decompress
npm http GET https://registry.npmjs.org/each-async
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/get-stdin
npm http 304 https://registry.npmjs.org/get-urls
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/each-async
npm http 304 https://registry.npmjs.org/through2
npm http 304 https://registry.npmjs.org/decompress
npm http 304 https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/duplexer
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/carrier
npm http GET https://registry.npmjs.org/tiny-jsonrpc
npm http 304 https://registry.npmjs.org/duplexer
npm http 304 https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/map-key
npm http GET https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/stream-combiner
npm http GET https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/tempfile
npm http GET https://registry.npmjs.org/adm-zip
npm http GET https://registry.npmjs.org/extname
npm http GET https://registry.npmjs.org/xtend
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/tiny-jsonrpc
npm http GET https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/carrier
npm http GET https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/stream-combiner
npm http 304 https://registry.npmjs.org/tar
npm http 304 https://registry.npmjs.org/tempfile
npm http 304 https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http 304 https://registry.npmjs.org/map-key
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/contextify
npm http GET https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/nwmatcher
npm http 304 https://registry.npmjs.org/extname
npm http 304 https://registry.npmjs.org/adm-zip
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/htmlparser2
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/nwmatcher
npm http 304 https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/uuid
npm http 304 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/ext-list
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/uuid
npm http 304 https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/object-keys
npm http 304 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/ext-list
npm http 304 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/object-keys
npm http 304 https://registry.npmjs.org/inherits
npm ERR! Error: ENOENT, chown '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/map-key/node_modules/underscore.string/Gemfile.lock'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/map-key/node_modules/underscore.string/Gemfile.lock npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/map-key/node_modules/underscore.string/Gemfile.lock npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! fstream_finish_call chown npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/tempfile/node_modules/uuid' npm ERR! error rolling back decompress@0.2.3 { [Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/tempfile/node_modules/uuid'] npm ERR! error rolling back errno: 53, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/tempfile/node_modules/uuid' } npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/map-key/node_modules/lodash/README.md' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/map-key/node_modules/lodash/README.md npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/map-key/node_modules/lodash/README.md npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, open '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js npm ERR! code ENOENT npm ERR! errno 34 npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/hawk/README.md' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/hawk/README.md npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/hawk/README.md npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/node-uuid/benchmark' npm ERR! error rolling back download@0.1.17 { [Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/node-uuid/benchmark'] npm ERR! error rolling back errno: 53, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/node-uuid/benchmark' } npm ERR! Error: ENOENT, chown '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/http-signature/lib' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/http-signature/lib npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/http-signature/lib/index.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! fstream_finish_call setupMadeDir npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack end (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:319:21) npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:336:20 npm ERR! fstream_stack next (/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:366:20) npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, open '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/adm-zip/test/assets/linux_arc.zip' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/decompress/node_modules/adm-zip/test/assets/linux_arc.zip npm ERR! code ENOENT npm ERR! errno 34 npm http GET https://registry.npmjs.org/combined-stream npm WARN optional dep failed, continuing tunnel-agent@0.4.0 npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm http GET https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/nan npm ERR! Error: ENOENT, open '/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/request/CHANGELOG.md' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/request/CHANGELOG.md npm ERR! code ENOENT npm ERR! errno 34 npm ERR! Error: ENOENT, chown '/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/htmlparser2/test/01-events.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/htmlparser2/test/01-events.js npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/htmlparser2/test/01-events.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! fstream_finish_call chown npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/xmlhttprequest' npm ERR! error rolling back quickscrape@0.1.4 { [Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/xmlhttprequest'] npm ERR! error rolling back errno: 53, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: '/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/xmlhttprequest' } npm ERR! Failed to parse json npm ERR! Unexpected end of input npm ERR! File: /home/ross/.npm/ext-list/0.1.0/package/package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! file /home/ross/.npm/ext-list/0.1.0/package/package.json npm ERR! code EJSONPARSE npm ERR! Error: ENOENT, open '/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/cssstyle/lib/properties/top.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/cssstyle/lib/properties/top.js npm ERR! code ENOENT npm ERR! errno 34 npm ERR! Error: ENOENT, chown '/usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/readable-stream/node_modules/inherits' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/readable-stream/node_modules/inherits npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/readable-stream/node_modules/inherits npm ERR! fstream_type Directory npm ERR! fstream_class DirWriter npm ERR! fstream_finish_call chown npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/cssom/lib/CSSImportRule.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/cssom/lib/CSSImportRule.js npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/cssom/lib/CSSImportRule.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/node-uuid/benchmark/bench.sh' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/node-uuid/benchmark/bench.sh npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/node-uuid/benchmark/bench.sh npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/readable-stream/node_modules/core-util-is/float.patch' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/readable-stream/node_modules/core-util-is/float.patch npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/readable-stream/node_modules/core-util-is/float.patch npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/mime/types/mime.types' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/mime/types/mime.types npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/download/node_modules/request/node_modules/mime/types/mime.types npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/nwmatcher/src/nwmatcher.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/nwmatcher/src/nwmatcher.js npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/nwmatcher/src/nwmatcher.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm http 304 https://registry.npmjs.org/combined-stream npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/underscore/raw/underscore.psd' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/underscore/raw/underscore.psd npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/underscore/raw/underscore.psd npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm http 304 https://registry.npmjs.org/nan npm http 304 https://registry.npmjs.org/bindings npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/tiny-jsonrpc/test/util/sinon-1.4.2.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--global" "--unsafe-perms" "casperjs" "quickscrape" npm ERR! cwd /home/ross/workspace/quickscrape npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! path /usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/tiny-jsonrpc/test/util/sinon-1.4.2.js npm ERR! fstream_path /usr/lib/node_modules/quickscrape/node_modules/spooky/node_modules/tiny-jsonrpc/test/util/sinon-1.4.2.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm http GET https://registry.npmjs.org/delayed-stream
contextify@0.1.8 install /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/ross/.node-gyp/0.10.28" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify/.node-gyp" gyp http GET http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz gyp http GET http://nodejs.org/dist/v0.10.28/SHASUMS.txt gyp http 200 http://nodejs.org/dist/v0.10.28/SHASUMS.txt Usage: gyp_main.py [options ...] [build_file ...]
gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 2
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:340:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http GET https://registry.npmjs.org/phantomjs
npm http 304 https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/phantomjs
npm http GET https://registry.npmjs.org/kew
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/npmconf
npm http 304 https://registry.npmjs.org/kew
npm http 304 https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/npmconf
npm http GET https://registry.npmjs.org/config-chain
npm http GET https://registry.npmjs.org/once
npm http GET https://registry.npmjs.org/osenv
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/ini
npm http 304 https://registry.npmjs.org/config-chain
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/ini
npm http 304 https://registry.npmjs.org/once
npm http 304 https://registry.npmjs.org/osenv
npm http GET https://registry.npmjs.org/proto-list
npm http 304 https://registry.npmjs.org/proto-list
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/tough-cookie
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/ctype
npm http GET https://registry.npmjs.org/delayed-stream
npm http GET https://registry.npmjs.org/punycode
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/asn1
npm http 304 https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/punycode
npm http 304 https://registry.npmjs.org/assert-plus
npm http 304 https://registry.npmjs.org/ctype
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/sntp
phantomjs@1.9.7-8 install /usr/lib/node_modules/casperjs/node_modules/phantomjs node install.js
PhantomJS detected, but wrong version 1.9.0 @ /usr/bin/phantomjs. Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 Saving to /usr/lib/node_modules/casperjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2 Receiving... Received 12852K total. Extracting tar contents (via spawned process) Copying extracted folder /usr/lib/node_modules/casperjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2-extract-1401643417135/phantomjs-1.9.7-linux-x86_64 -> /usr/lib/node_modules/casperjs/node_modules/phantomjs/lib/phantom Writing location.js file Done. Phantomjs binary available at /usr/lib/node_modules/casperjs/node_modules/phantomjs/lib/phantom/bin/phantomjs /usr/bin/casperjs -> /usr/lib/node_modules/casperjs/bin/casperjs npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/ross/workspace/quickscrape/npm-debug.log npm ERR! not ok code 0
env attempt ---
:~/workspace/quickscrape$ cat install_qs.sh if [[ $(uname -v) =~ Debian ]]; then echo "Debian detected: installing backports" echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list apt-get update apt-get install -y nodejs apt-get install -y nodejs-legacy curl --insecure https://www.npmjs.org/install.sh | bash fi if [[ $(uname -v) =~ Ubuntu ]]; then echo "Ubuntu detected: using Chris Lea's PPA repo" apt-get install -y software-properties-common python-software-properties add-apt-repository -y ppa:chris-lea/node.js apt-get update apt-get install -y python g++ make nodejs apt-get install phantomjs fi env SUDO_UID= SUDO_USER= npm i sudo npm install --global casperjs quickscrape
ross@rm-dualcore:~/workspace/quickscrape$ sudo bash install_qs.sh | tee log.log
Ubuntu detected: using Chris Lea's PPA repo Reading package lists... Building dependency tree... Reading state information... software-properties-common is already the newest version. python-software-properties is already the newest version. The following packages were automatically installed and are no longer required: gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which Use 'apt-get autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade. OK Ign http://ppa.launchpad.net trusty InRelease Ign http://gb.archive.ubuntu.com trusty InRelease Ign http://security.ubuntu.com trusty-security InRelease Hit http://ppa.launchpad.net trusty Release.gpg Ign http://gb.archive.ubuntu.com trusty-updates InRelease Hit http://security.ubuntu.com trusty-security Release.gpg Hit http://ppa.launchpad.net trusty Release Ign http://gb.archive.ubuntu.com trusty-backports InRelease Hit http://gb.archive.ubuntu.com trusty Release.gpg Hit http://security.ubuntu.com trusty-security Release Hit http://gb.archive.ubuntu.com trusty-updates Release.gpg Ign http://dl.google.com stable InRelease Hit http://deb.opera.com stable InRelease Hit http://gb.archive.ubuntu.com trusty-backports Release.gpg Hit http://gb.archive.ubuntu.com trusty Release Ign http://dl.google.com stable InRelease Hit http://gb.archive.ubuntu.com trusty-updates Release Hit http://gb.archive.ubuntu.com trusty-backports Release Hit http://dl.google.com stable Release.gpg Hit http://dl.google.com stable Release.gpg Hit http://dl.google.com stable Release Hit http://dl.google.com stable Release Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://ppa.launchpad.net trusty/main i386 Packages Hit http://security.ubuntu.com trusty-security/main Sources Hit http://security.ubuntu.com trusty-security/restricted Sources Hit http://security.ubuntu.com trusty-security/universe Sources Hit http://deb.opera.com stable/non-free amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse Sources Hit http://deb.opera.com stable/non-free i386 Packages Ign http://ppa.launchpad.net trusty/main Translation-en_GB Hit http://security.ubuntu.com trusty-security/main amd64 Packages Ign http://ppa.launchpad.net trusty/main Translation-en Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages Hit http://security.ubuntu.com trusty-security/universe amd64 Packages Hit http://gb.archive.ubuntu.com trusty/main Sources Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages Hit http://gb.archive.ubuntu.com trusty/restricted Sources Hit http://security.ubuntu.com trusty-security/main i386 Packages Hit http://gb.archive.ubuntu.com trusty/universe Sources Hit http://security.ubuntu.com trusty-security/restricted i386 Packages Hit http://gb.archive.ubuntu.com trusty/multiverse Sources Hit http://security.ubuntu.com trusty-security/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages Hit http://security.ubuntu.com trusty-security/main Translation-en Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages Hit http://gb.archive.ubuntu.com trusty/main i386 Packages Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages Ign http://deb.opera.com stable/non-free Translation-en_GB Hit http://dl.google.com stable/main amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse Translation-en Ign http://deb.opera.com stable/non-free Translation-en Hit http://dl.google.com stable/main i386 Packages Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages Hit http://security.ubuntu.com trusty-security/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB Hit http://security.ubuntu.com trusty-security/universe Translation-en Hit http://gb.archive.ubuntu.com trusty/main Translation-en Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB Hit http://dl.google.com stable/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB Hit http://dl.google.com stable/main i386 Packages Hit http://gb.archive.ubuntu.com trusty/universe Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/main Sources Hit http://gb.archive.ubuntu.com trusty-updates/restricted Sources Hit http://gb.archive.ubuntu.com trusty-updates/universe Sources Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Sources Hit http://gb.archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty-updates/restricted amd64 Packages Ign http://security.ubuntu.com trusty-security/main Translation-en_GB Hit http://gb.archive.ubuntu.com trusty-updates/universe amd64 Packages Ign http://security.ubuntu.com trusty-security/multiverse Translation-en_GB Hit http://gb.archive.ubuntu.com trusty-updates/multiverse amd64 Packages Ign http://security.ubuntu.com trusty-security/restricted Translation-en_GB Ign http://security.ubuntu.com trusty-security/universe Translation-en_GB Hit http://gb.archive.ubuntu.com trusty-updates/main i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/main Sources Hit http://gb.archive.ubuntu.com trusty-backports/restricted Sources Hit http://gb.archive.ubuntu.com trusty-backports/universe Sources Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Sources Hit http://gb.archive.ubuntu.com trusty-backports/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/restricted amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/universe amd64 Packages Ign http://dl.google.com stable/main Translation-en_GB Hit http://gb.archive.ubuntu.com trusty-backports/multiverse amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/main i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages Ign http://dl.google.com stable/main Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages Ign http://dl.google.com stable/main Translation-en_GB Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en Ign http://dl.google.com stable/main Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en Ign http://gb.archive.ubuntu.com trusty-updates/main Translation-en_GB Ign http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en_GB Ign http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en_GB Ign http://gb.archive.ubuntu.com trusty-updates/universe Translation-en_GB Ign http://gb.archive.ubuntu.com trusty-backports/main Translation-en_GB Ign http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en_GB Ign http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en_GB Ign http://gb.archive.ubuntu.com trusty-backports/universe Translation-en_GB Reading package lists... Reading package lists... Building dependency tree... Reading state information... g++ is already the newest version. make is already the newest version. python is already the newest version. nodejs is already the newest version. The following packages were automatically installed and are no longer required: gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which Use 'apt-get autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade. Reading package lists... Building dependency tree... Reading state information... phantomjs is already the newest version. The following packages were automatically installed and are no longer required: gyp libc-ares-dev libjs-node-uuid libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-which Use 'apt-get autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 232 not to upgrade.
contextify@0.1.8 install /home/ross/workspace/quickscrape/node_modules/jsdom/node_modules/contextify node-gyp rebuild
phantomjs@1.9.7-8 install /usr/lib/node_modules/casperjs/node_modules/phantomjs node install.js
PhantomJS detected, but wrong version 1.9.0 @ /usr/bin/phantomjs. Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 Saving to /usr/lib/node_modules/casperjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2 Receiving... Received 12852K total. Extracting tar contents (via spawned process) Copying extracted folder /usr/lib/node_modules/casperjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2-extract-1401644198716/phantomjs-1.9.7-linux-x86_64 -> /usr/lib/node_modules/casperjs/node_modules/phantomjs/lib/phantom Writing location.js file Done. Phantomjs binary available at /usr/lib/node_modules/casperjs/node_modules/phantomjs/lib/phantom/bin/phantomjs /usr/bin/casperjs -> /usr/lib/node_modules/casperjs/bin/casperjs npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/ross/workspace/quickscrape/npm-debug.log npm ERR! not ok code 0
Can you email me the file /home/ross/workspace/quickscrape/npm-debug.log
?
sure, it's 9000 lines long! :)
:sob:
Can't help, except to say that my npm-debug.log was also that long.
I appreciate what both of you are going through. About to test multiple downloads.
On Sun, Jun 1, 2014 at 7:54 PM, Richard Smith-Unna <notifications@github.com
wrote:
[image: :sob:]
— Reply to this email directly or view it on GitHub https://github.com/ContentMine/quickscrape/issues/3#issuecomment-44784047 .
Peter Murray-Rust Reader in Molecular Informatics Unilever Centre, Dep. Of Chemistry University of Cambridge CB2 1EW, UK +44-1223-763069
I think it installs ok(?)
but now, after that... how to get it to work? I tried the instructions on the readme but couldn't get any response from quickscrape, even:
quickscrape --version
gives no output.
Full install log below:
:~/workspace/quickscrape$ sudo npm install --global --unsafe-perm quickscrape [sudo] password for ross: npm http GET https://registry.npmjs.org/quickscrape npm http 304 https://registry.npmjs.org/quickscrape npm http GET https://registry.npmjs.org/jsdom npm http GET https://registry.npmjs.org/xpath/0.0.6 npm http GET https://registry.npmjs.org/download npm http GET https://registry.npmjs.org/winston npm http GET https://registry.npmjs.org/which npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/spooky npm http 304 https://registry.npmjs.org/jsdom npm http 304 https://registry.npmjs.org/xpath/0.0.6 npm http 304 https://registry.npmjs.org/which npm http 304 https://registry.npmjs.org/download npm http 304 https://registry.npmjs.org/winston npm http 304 https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/spooky npm http GET https://registry.npmjs.org/get-stdin npm http GET https://registry.npmjs.org/get-urls npm http GET https://registry.npmjs.org/nopt npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/through2 npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/decompress npm http GET https://registry.npmjs.org/each-async npm http 304 https://registry.npmjs.org/nopt npm http 304 https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/get-stdin npm http 304 https://registry.npmjs.org/mkdirp npm http 304 https://registry.npmjs.org/decompress npm http 304 https://registry.npmjs.org/through2 npm http 304 https://registry.npmjs.org/get-urls npm http 304 https://registry.npmjs.org/each-async npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/tiny-jsonrpc npm http GET https://registry.npmjs.org/carrier npm http GET https://registry.npmjs.org/duplexer npm http GET https://registry.npmjs.org/readable-stream npm http 304 https://registry.npmjs.org/underscore npm http 304 https://registry.npmjs.org/async npm http 304 https://registry.npmjs.org/duplexer npm http 304 https://registry.npmjs.org/carrier npm http GET https://registry.npmjs.org/readable-stream npm http GET https://registry.npmjs.org/map-key npm http 304 https://registry.npmjs.org/tiny-jsonrpc npm http GET https://registry.npmjs.org/xtend npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/tempfile npm http GET https://registry.npmjs.org/extname npm http GET https://registry.npmjs.org/stream-combiner npm http 304 https://registry.npmjs.org/readable-stream npm http GET https://registry.npmjs.org/adm-zip npm http 304 https://registry.npmjs.org/readable-stream npm http 304 https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/cycle npm http GET https://registry.npmjs.org/eyes npm http GET https://registry.npmjs.org/pkginfo npm http 304 https://registry.npmjs.org/tempfile npm http GET https://registry.npmjs.org/stack-trace npm http GET https://registry.npmjs.org/abbrev npm http 304 https://registry.npmjs.org/map-key npm http 304 https://registry.npmjs.org/xtend npm http 304 https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/xmlhttprequest npm http 304 https://registry.npmjs.org/extname npm http GET https://registry.npmjs.org/cssom npm http GET https://registry.npmjs.org/cssstyle npm http GET https://registry.npmjs.org/contextify npm http GET https://registry.npmjs.org/htmlparser2 npm http GET https://registry.npmjs.org/nwmatcher npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/forever-agent npm http GET https://registry.npmjs.org/node-uuid npm http GET https://registry.npmjs.org/tough-cookie npm http GET https://registry.npmjs.org/form-data npm http GET https://registry.npmjs.org/http-signature npm http GET https://registry.npmjs.org/tunnel-agent npm http GET https://registry.npmjs.org/oauth-sign npm http GET https://registry.npmjs.org/hawk npm http GET https://registry.npmjs.org/qs npm http GET https://registry.npmjs.org/aws-sign2 npm http GET https://registry.npmjs.org/json-stringify-safe npm http GET https://registry.npmjs.org/core-util-is npm http GET https://registry.npmjs.org/isarray/0.0.1 npm http GET https://registry.npmjs.org/string_decoder npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/object-keys npm http 304 https://registry.npmjs.org/adm-zip npm http 304 https://registry.npmjs.org/colors npm http 304 https://registry.npmjs.org/stream-combiner npm http 304 https://registry.npmjs.org/cycle npm http 304 https://registry.npmjs.org/eyes npm http 304 https://registry.npmjs.org/abbrev npm http 304 https://registry.npmjs.org/xmlhttprequest npm http 304 https://registry.npmjs.org/stack-trace npm http 304 https://registry.npmjs.org/cssom npm http 304 https://registry.npmjs.org/cssstyle npm http 304 https://registry.npmjs.org/pkginfo npm http GET https://registry.npmjs.org/uuid npm http GET https://registry.npmjs.org/lodash npm http GET https://registry.npmjs.org/underscore.string npm http GET https://registry.npmjs.org/underscore.string npm http GET https://registry.npmjs.org/ext-list npm http 304 https://registry.npmjs.org/htmlparser2 npm http 304 https://registry.npmjs.org/forever-agent npm http 304 https://registry.npmjs.org/contextify npm http 304 https://registry.npmjs.org/nwmatcher npm http 304 https://registry.npmjs.org/mime npm http 304 https://registry.npmjs.org/node-uuid npm http 304 https://registry.npmjs.org/http-signature npm http 304 https://registry.npmjs.org/tunnel-agent npm http 304 https://registry.npmjs.org/tough-cookie npm http 304 https://registry.npmjs.org/form-data npm http 304 https://registry.npmjs.org/oauth-sign npm http 304 https://registry.npmjs.org/hawk npm http 304 https://registry.npmjs.org/qs npm http 304 https://registry.npmjs.org/json-stringify-safe npm http 304 https://registry.npmjs.org/string_decoder npm http 304 https://registry.npmjs.org/aws-sign2 npm http 304 https://registry.npmjs.org/core-util-is npm http 304 https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/isarray/0.0.1 npm http 304 https://registry.npmjs.org/object-keys npm http 304 https://registry.npmjs.org/uuid npm http 304 https://registry.npmjs.org/underscore.string npm http 304 https://registry.npmjs.org/underscore.string npm http 304 https://registry.npmjs.org/lodash npm http 304 https://registry.npmjs.org/ext-list npm http GET https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/nan npm http 304 https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/ctype/0.5.2 npm http GET https://registry.npmjs.org/assert-plus/0.1.2 npm http GET https://registry.npmjs.org/asn1/0.1.11 npm http 304 https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/nan npm http 304 https://registry.npmjs.org/assert-plus/0.1.2 npm http GET https://registry.npmjs.org/fstream npm http 304 https://registry.npmjs.org/ctype/0.5.2 npm http GET https://registry.npmjs.org/block-stream npm http 304 https://registry.npmjs.org/asn1/0.1.11 npm http 304 https://registry.npmjs.org/block-stream npm http 304 https://registry.npmjs.org/fstream npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5 npm http GET https://registry.npmjs.org/cookie-jar npm http GET https://registry.npmjs.org/aws-sign npm http GET https://registry.npmjs.org/punycode npm http GET https://registry.npmjs.org/entities npm http GET https://registry.npmjs.org/domhandler npm http GET https://registry.npmjs.org/domutils npm http GET https://registry.npmjs.org/domelementtype npm http 304 https://registry.npmjs.org/cookie-jar npm http 304 https://registry.npmjs.org/aws-sign npm http GET https://registry.npmjs.org/boom npm http GET https://registry.npmjs.org/hoek npm http GET https://registry.npmjs.org/sntp npm http GET https://registry.npmjs.org/cryptiles npm http 304 https://registry.npmjs.org/punycode npm http 304 https://registry.npmjs.org/domutils npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.10"}) npm http 304 https://registry.npmjs.org/boom npm http 304 https://registry.npmjs.org/domelementtype npm http 304 https://registry.npmjs.org/domhandler npm http 304 https://registry.npmjs.org/entities npm http 304 https://registry.npmjs.org/hoek npm http GET https://registry.npmjs.org/graceful-fs npm http 304 https://registry.npmjs.org/sntp npm http 304 https://registry.npmjs.org/cryptiles npm http 304 https://registry.npmjs.org/graceful-fs npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.10"}) npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.10"}) npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.10"}) npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.25","npm":"1.3.10"}) make: Entering directory
/usr/local/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify/build' CXX(target) Release/obj.target/contextify/src/contextify.o SOLINK_MODULE(target) Release/obj.target/contextify.node SOLINK_MODULE(target) Release/obj.target/contextify.node: Finished COPY Release/contextify.node make: Leaving directory
/usr/local/lib/node_modules/quickscrape/node_modules/jsdom/node_modules/contextify/build' /usr/local/bin/quickscrape -> /usr/local/lib/node_modules/quickscrape/bin/quickscrape.js quickscrape@0.1.4 /usr/local/lib/node_modules/quickscrape ├── commander@2.2.0 ├── which@1.0.5 ├── xpath@0.0.6 ├── spooky@0.2.4 (duplexer@0.0.4, carrier@0.1.14, async@0.1.22, tiny-jsonrpc@0.2.1, underscore@1.3.3, readable-stream@1.0.27-1) ├── winston@0.7.3 (cycle@1.0.3, stack-trace@0.0.9, eyes@0.1.8, colors@0.6.2, async@0.2.10, pkginfo@0.3.0, request@2.16.6) ├── download@0.1.17 (get-stdin@0.1.0, each-async@0.1.3, get-urls@0.1.2, mkdirp@0.3.5, nopt@2.2.1, through2@0.4.2, request@2.36.0, decompress@0.2.3) └── jsdom@0.10.6 (xmlhttprequest@1.6.0, cssom@0.3.0, nwmatcher@1.3.3, htmlparser2@3.7.2, request@2.36.0, cssstyle@0.2.14, contextify@0.1.8)