Skip to content

Instantly share code, notes, and snippets.

@sneak
Created April 7, 2016 19:38
Show Gist options
  • Save sneak/3196c0c497991ec0efeb8664f862c46e to your computer and use it in GitHub Desktop.
Save sneak/3196c0c497991ec0efeb8664f862c46e to your computer and use it in GitHub Desktop.
what the fuck
```
> [email protected] install /var/app/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | linux | x64
node-pre-gyp info check checked for "/var/app/node_modules/sqlite3/lib/binding/node-v46-linux-x64/node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.3/node-v46-linux-x64.tar.gz
node-pre-gyp http 200 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.3/node-v46-linux-x64.tar.gz
node-pre-gyp info install unpacking node_sqlite3.node
node-pre-gyp info tarball done parsing tarball
node-pre-gyp info validate Running test command: '/usr/local/bin/node --eval 'require(\'/var/app/node_modules/sqlite3/lib/binding/node-v46-linux-x64/node_sqlite3.node\')''
[sqlite3] Success: "/var/app/node_modules/sqlite3/lib/binding/node-v46-linux-x64/node_sqlite3.node" is installed via remote
node-pre-gyp info ok
npm info postinstall [email protected]
npm info build /var/app
npm info linkStuff [email protected]
npm info install [email protected]
npm info postinstall [email protected]
npm info prepublish [email protected]
```
@sneak
Copy link
Author

sneak commented Apr 7, 2016

Completely unbelievable that installing an sqlite driver via npm downloads and execs binaries controlled by 3 different orgs (npm, mapbox, Amazon).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment