Skip to content

Instantly share code, notes, and snippets.

View w4-hojin's full-sized avatar

HOJIN LEE w4-hojin

View GitHub Profile
// ==UserScript==
// @name Gerrit_Helper
// @namespace https://skelterlabs.com/
// @homepage https://gist.github.com/w4-hojin/7b46d33472a65cfe3510059ab25bf1da
// @version 0.22
// @description Gerrit Helper.
// @author hojin <[email protected]>
// @require https://code.jquery.com/jquery-3.4.1.min.js
// @require https://cdn.jsdelivr.net/ally.js/1.4.1/ally.min.js
// @require https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js
@rcugut
rcugut / node-npm-install.md
Last active February 2, 2024 11:51 — forked from DanHerbert/fix-homebrew-npm.md
Install node & npm on Mac OS X with Homebrew

DEPRECATED as of macOS 10.13 (High Sierra). See the new GUIDE to install nvm and yarn for macOS (updated July 2019)

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

Solution

This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.