Injecting configuration and compiling...
[1G [1G-----> Node.js app detected
[1G
[1G-----> Creating runtime environment
[1G
[1G NPM_CONFIG_LOGLEVEL=error
[1G NPM_CONFIG_PRODUCTION=true
[1G NPM_CONFIG_CAFILE=/etc/ssl/certs/ca-certificates.crt
[1G NODE_VERBOSE=false
[1G NODE_ENV=production
[1G NODE_TLS_REJECT_UNAUTHORIZED=0
[1G NODE_MODULES_CACHE=true
[1G
[1G-----> Installing binaries
[1G engines.node (package.json): 5.8.0
[1G engines.npm (package.json): 3.8.2
[1G
[1G Resolving node version 5.8.0...
[1G Downloading and installing node 5.8.0...
[1G Bootstrapping npm 3.8.2 (replacing 3.7.3)...
[1G npm 3.8.2 installed
[1G
[1G-----> Restoring cache
[1G Skipping cache restore (not-found)
[1G
[1G-----> Building dependencies
[1G Installing node modules (package.json)
[1G
[1G > sqlite3@4.0.0 install /tmp/build/node_modules/sqlite3
[1G > node-pre-gyp install --fallback-to-build
[1G
[1G node-pre-gyp ERR! UNCAUGHT EXCEPTION
[1G node-pre-gyp ERR! stack TypeError: Buffer.alloc is not a function
[1G node-pre-gyp ERR! stack at Object.<anonymous> (/tmp/build/node_modules/sqlite3/node_modules/tar/lib/pack.js:32:20)
[1G node-pre-gyp ERR! stack at Module._compile (module.js:413:34)
[1G node-pre-gyp ERR! stack at Object.Module._extensions..js (module.js:422:10)
[1G node-pre-gyp ERR! stack at Module.load (module.js:357:32)
[1G node-pre-gyp ERR! stack at Function.Module._load (module.js:314:12)
[1G node-pre-gyp ERR! stack at Module.require (module.js:367:17)
[1G node-pre-gyp ERR! stack at require (internal/module.js:16:19)
[1G node-pre-gyp ERR! stack at Object.<anonymous> (/tmp/build/node_modules/sqlite3/node_modules/tar/lib/create.js:6:14)
[1G node-pre-gyp ERR! stack at Module._compile (module.js:413:34)
[1G node-pre-gyp ERR! stack at Object.Module._extensions..js (module.js:422:10)
[1G node-pre-gyp ERR! System Linux 4.15.12-x86_64-linode105
[1G node-pre-gyp ERR! command "/tmp/build/.heroku/node/bin/node" "/tmp/build/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
[1G node-pre-gyp ERR! cwd /tmp/build/node_modules/sqlite3
[1G node-pre-gyp ERR! node -v v5.8.0
[1G node-pre-gyp ERR! node-pre-gyp -v v0.9.0
[1G node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
[1G node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
[1G node-pre-gyp ERR! <https://github.com/mapbox/node-pre-gyp/issues>
[1G morph-division-postcode-correspondence@1.0.0 /tmp/build
[1G +-- cheerio@1.0.0-rc.2
[1G | +-- css-select@1.2.0
[1G | | +-- boolbase@1.0.0
[1G | | +-- css-what@2.1.0
[1G | | +-- domutils@1.5.1
[1G | | `-- nth-check@1.0.1
[1G | +-- dom-serializer@0.1.0
[1G | | `-- domelementtype@1.1.3
[1G | +-- entities@1.1.1
[1G | +-- htmlparser2@3.9.2
[1G | | +-- domelementtype@1.3.0
[1G | | +-- domhandler@2.4.1
[1G | | +-- inherits@2.0.3
[1G | | `-- readable-stream@2.3.6
[1G | | +-- core-util-is@1.0.2
[1G | | +-- isarray@1.0.0
[1G | | +-- process-nextick-args@2.0.0
[1G | | +-- string_decoder@1.1.1
[1G | | `-- util-deprecate@1.0.2
[1G | +-- lodash@4.17.5
[1G | `-- parse5@3.0.3
[1G | `-- @types/node@9.6.5
[1G +-- clone@1.0.4
[1G +-- queue-async@1.2.1
[1G `-- request@2.85.0
[1G +-- aws-sign2@0.7.0
[1G +-- aws4@1.7.0
[1G +-- caseless@0.12.0
[1G +-- combined-stream@1.0.6
[1G | `-- delayed-stream@1.0.0
[1G +-- extend@3.0.1
[1G +-- forever-agent@0.6.1
[1G +-- form-data@2.3.2
[1G | `-- asynckit@0.4.0
[1G +-- har-validator@5.0.3
[1G | +-- ajv@5.5.2
[1G | | +-- co@4.6.0
[1G | | +-- fast-deep-equal@1.1.0
[1G | | +-- fast-json-stable-stringify@2.0.0
[1G | | `-- json-schema-traverse@0.3.1
[1G | `-- har-schema@2.0.0
[1G +-- hawk@6.0.2
[1G | +-- boom@4.3.1
[1G | +-- cryptiles@3.1.2
[1G | | `-- boom@5.2.0
[1G | +-- hoek@4.2.1
[1G | `-- sntp@2.1.0
[1G +-- http-signature@1.2.0
[1G | +-- assert-plus@1.0.0
[1G | +-- jsprim@1.4.1
[1G | | +-- extsprintf@1.3.0
[1G | | +-- json-schema@0.2.3
[1G | | `-- verror@1.10.0
[1G | `-- sshpk@1.14.1
[1G | +-- asn1@0.2.3
[1G | +-- bcrypt-pbkdf@1.0.1
[1G | +-- dashdash@1.14.1
[1G | +-- ecc-jsbn@0.1.1
[1G | +-- getpass@0.1.7
[1G | +-- jsbn@0.1.1
[1G | `-- tweetnacl@0.14.5
[1G +-- is-typedarray@1.0.0
[1G +-- isstream@0.1.2
[1G +-- json-stringify-safe@5.0.1
[1G +-- mime-types@2.1.18
[1G | `-- mime-db@1.33.0
[1G +-- oauth-sign@0.8.2
[1G +-- performance-now@2.1.0
[1G +-- qs@6.5.1
[1G +-- safe-buffer@5.1.1
[1G +-- stringstream@0.0.5
[1G +-- tough-cookie@2.3.4
[1G | `-- punycode@1.4.1
[1G +-- tunnel-agent@0.6.0
[1G `-- uuid@3.2.1
[1G
[1G npm ERR! Linux 4.15.12-x86_64-linode105
[1G npm ERR! argv "/tmp/build/.heroku/node/bin/node" "/tmp/build/.heroku/node/bin/npm" "install" "--unsafe-perm" "--userconfig" "/tmp/build/.npmrc"
[1G npm ERR! node v5.8.0
[1G npm ERR! npm v3.8.2
[1G npm ERR! code ELIFECYCLE
[1G
[1G npm ERR! sqlite3@4.0.0 install: `node-pre-gyp install --fallback-to-build`
[1G npm ERR! Exit status 7
[1G npm ERR!
[1G npm ERR! Failed at the sqlite3@4.0.0 install script 'node-pre-gyp install --fallback-to-build'.
[1G npm ERR! Make sure you have the latest version of node.js and npm installed.
[1G npm ERR! If you do, this is most likely a problem with the sqlite3 package,
[1G npm ERR! not with npm itself.
[1G npm ERR! Tell the author that this fails on your system:
[1G npm ERR! node-pre-gyp install --fallback-to-build
[1G npm ERR! You can get information on how to open an issue for this project with:
[1G npm ERR! npm bugs sqlite3
[1G npm ERR! Or if that isn't available, you can get their info via:
[1G npm ERR! npm owner ls sqlite3
[1G npm ERR! There is likely additional logging output above.
[1G
[1G npm ERR! Please include the following file with any support request:
[1G npm ERR! /tmp/build/npm-debug.log
[1G
[1G-----> Build failed
[1G
[1G We're sorry this build is failing! You can troubleshoot common issues here:
[1G https://devcenter.heroku.com/articles/troubleshooting-node-deploys
[1G
[1G If you're stuck, please submit a ticket so we can help:
[1G https://help.heroku.com/
[1G
[1G Love,
[1G Heroku
[1G