Prnts
38
getting an error in terminal when trying
sudo npm install
seems to be a permissions issue
gyp ERR! stack Error: EACCES: permission denied, mkdir '/Users/prnts/Documents/rack/node_modules/midi/build'
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/prnts/Documents/rack/node_modules/midi
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! midi@0.9.5 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the midi@0.9.5 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/prnts/.npm/_logs/2019-07-12T02_44_16_516Z-debug.log```