Skip to content

Instantly share code, notes, and snippets.

@joeyklee
Created October 14, 2019 14:38
Show Gist options
  • Save joeyklee/89902cb79a9122dc397cd0ee19230165 to your computer and use it in GitHub Desktop.
Save joeyklee/89902cb79a9122dc397cd0ee19230165 to your computer and use it in GitHub Desktop.
Installing & testing a node_module locally with -g flag

OK so here’s what I ended up doing:

let’s say I just I cloned magicbook

cd magicbook
npm install
npm install -g ./ 

the last command adds it the reference to this repo to the global node_modules

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