Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ChasManRors/b7fabb66a77c5a06a246ef9f451d58a3 to your computer and use it in GitHub Desktop.
Save ChasManRors/b7fabb66a77c5a06a246ef9f451d58a3 to your computer and use it in GitHub Desktop.
steps taken to get back to cleaner ember free environment
cd /Users/cmagid/projects/compliance-visualization-dashboard
=> ok
brew unlink node
=> Error: No such keg: /Users/cmagid/brew/Cellar/node
brew uninstall --force node
=> ok
brew prune
=> ok
brew uninstall --ignore-dependencies python@2
=> ok
unset PYTHONPATH
=> ok
brew unlink node
=> Error: No such keg: /Users/cmagid/brew/Cellar/node
brew uninstall node@8
=> Uninstalling /Users/cmagid/brew/Cellar/node@8/8.10.0... (4,445 files, 47.8MB)
type npm
=> -bash: type: npm: not found
type node
=> -bash: type: node: not found
npm uninstall --global ember-cli
=> -bash: npm: command not found
brew install node
==> Summary /Users/cmagid/brew/Cellar/node/9.7.1_1: 5,140 files, 50.2MB, built in 6 minutes 32 seconds
npm uninstall --global ember-cli
=> removed 768 packages in 6.852s
npm uninstall ember-cli
=> removed 1047 packages in 21.298s
brew uninstall --force node
=> Uninstalling node... (5,140 files, 50.2MB)
brew unlink ember-cli
=> Error: No such keg: /Users/cmagid/brew/Cellar/ember-cli
type npm
=>npm is /Users/cmagid/brew/bin/npm
ll /Users/cmagid/brew/bin/npm
=> lrwxr-xr-x 1 cmagid 101845262 54 Mar 8 10:38 /Users/cmagid/brew/bin/npm@ -> /Users/cmagid/brew/lib/node_modules/npm/bin/npm-cli.js
ll /Users/cmagid/brew/lib/node_modules/npm/bin/npm-cli.js
=> -rwxr-xr-x 1 cmagid 101845262 2749 Mar 8 10:38 /Users/cmagid/brew/lib/node_modules/npm/bin/npm-cli.js*
type node
=> -bash: type: node: not found
brew uninstall npm
=> Error: No such keg: /Users/cmagid/brew/Cellar/node
brew uninstall --ignore-dependencies --force npm
=> ok
type npm
=> npm is /Users/cmagid/brew/bin/npm
ll /Users/cmagid/brew/bin/npm
=> lrwxr-xr-x 1 cmagid 101845262 54 Mar 8 10:38 /Users/cmagid/brew/bin/npm@ -> /Users/cmagid/brew/lib/node_modules/npm/bin/npm-cli.js
ll /Users/cmagid/brew/lib/node_modules/npm/bin/npm-cli.js
=> -rwxr-xr-x 1 cmagid 101845262 2749 Mar 8 10:38 /Users/cmagid/brew/lib/node_modules/npm/bin/npm-cli.js*
type ember
=> -bash: type: ember: not found
rm /Users/cmagid/brew/bin/npm
type npm
=> -bash: type: npm: not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment