Skip to content

Instantly share code, notes, and snippets.

@jsjoeio
Last active December 13, 2017 21:08
Show Gist options
  • Save jsjoeio/e4ee9c70d6703f1457c016ab7922375e to your computer and use it in GitHub Desktop.
Save jsjoeio/e4ee9c70d6703f1457c016ab7922375e to your computer and use it in GitHub Desktop.
Twilio App - help
#### npm install --global yarn
Josephs-MacBook-Pro:~ josephprevite$ npm install --global yarn
npm WARN deprecated [email protected]: It is recommended to install Yarn using the native installation method for your environment. See https://yarnpkg.com/en/docs/install
/usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js
/usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js
+ [email protected]
updated 1 package in 0.929s
Josephs-MacBook-Pro:~ josephprevite$ brew install yarn
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
google-authenticator-libpam igv
==> Updated Formulae
node βœ” enchant grpc paket
antlr erlang@18 gspell pandoc
antlr4-cpp-runtime erlang@19 gtkspell3 pilosa
apm-server flyway [email protected] pipenv
bfg freediameter heroku plantuml
bitrise fuse-zip juju pow
chakra fuseki juju-wait pqiv
conjure-up gedit latexila pushpin
corebird git-crypt libhttpseverywhere reposurgeon
davmail gitg mujs sec
dhall-json gnome-builder node-build zurl
docfx gnome-recipes nsd
dpkg gpgme nvm
Warning: yarn 1.3.2 is already installed, it's just not linked.
You can use `brew link yarn` to link this version.
Josephs-MacBook-Pro:~ josephprevite$ brew link yarn
Linking /usr/local/Cellar/yarn/1.3.2...
Error: Could not symlink bin/yarn
Target /usr/local/bin/yarn
already exists. You may want to remove it:
rm '/usr/local/bin/yarn'
To force the link and overwrite all conflicting files:
brew link --overwrite yarn
To list all files that would be deleted:
brew link --overwrite --dry-run yarn
Josephs-MacBook-Pro:~ josephprevite$ brew link --overwrite yarn
Linking /usr/local/Cellar/yarn/1.3.2... 2 symlinks created
#### yarn install error log
Josephs-MacBook-Pro:call-forwarding-node-master josephprevite$ yarn install
yarn install v1.3.2
info No lockfile found.
[1/4] πŸ” Resolving packages...
warning sequelize-cli > gulp > vinyl-fs > [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
warning sequelize-cli > gulp > vinyl-fs > glob-stream > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning sequelize-cli > gulp > vinyl-fs > glob-watcher > gaze > globule > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning sequelize-cli > gulp > vinyl-fs > glob-watcher > gaze > globule > glob > [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
[2/4] 🚚 Fetching packages...
[3/4] πŸ”— Linking dependencies...
[4/4] πŸ“ƒ Building fresh packages...
[1/1] ⠈ sqlite3: node-pre-gyp ERR!
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
[-/1] ⠈ waiting...
error /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3
Output:
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] | darwin | x64
node-pre-gyp info check checked for "/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v59-darwin-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v59-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v59-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v59 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v59-darwin-x64.tar.gz
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:159:13)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:207:12)
node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:389:16)
node-pre-gyp ERR! stack at _combinedTickCallback (internal/process/next_tick.js:138:11)
node-pre-gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:180:9)
node-pre-gyp ERR! System Darwin 17.2.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/9.2.1/bin/node" "/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3
node-pre-gyp ERR! node -v v9.2.1
#### npm uninstall sqlite3 & npm cache clean
Josephs-MacBook-Pro:call-forwarding-node-master josephprevite$ npm uninstall sqlite3
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN rm not removing /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/node_modules/.bin/node-pre-gyp as it wasn't installed by /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/node_modules/node-pre-gyp
npm WARN rm not removing /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/.bin/semver as it wasn't installed by /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/semver
npm WARN rm not removing /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/.bin/nopt as it wasn't installed by /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/nopt
npm WARN rm not removing /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/acorn-globals/node_modules/.bin/acorn as it wasn't installed by /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/acorn-globals/node_modules/acorn
added 38 packages, removed 183 packages, updated 471 packages and moved 4 packages in 13.81s
Josephs-MacBook-Pro:call-forwarding-node-master josephprevite$ npm cache clean
npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead.
npm ERR!
npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/josephprevite/.npm/_logs/2017-12-13T20_52_00_006Z-debug.log
#### sudo npm install sqlite3
Josephs-MacBook-Pro:call-forwarding-node-master josephprevite$ sudo npm install sqlite3
Password:
> [email protected] install /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v59-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v59 ABI) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/build'
gyp ERR! System Darwin 17.2.0
gyp ERR! command "/usr/local/Cellar/node/9.2.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/lib/binding/node-v59-darwin-x64"
gyp ERR! cwd /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3
gyp ERR! node -v v9.2.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/9.2.1/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/lib/binding/node-v59-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:159:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:943:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
node-pre-gyp ERR! System Darwin 17.2.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/9.2.1/bin/node" "/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3
node-pre-gyp ERR! node -v v9.2.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.38
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/9.2.1/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/josephprevite/Dev/call-forwarding-node-master/node_modules/sqlite3/lib/binding/node-v59-darwin-x64' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/josephprevite/.npm/_logs/2017-12-13T21_07_29_878Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment