npm ls discord-rpcnpm ERR! code 1 npm ERR! path /Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/register-scheme npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o npm ERR! LIBTOOL-STATIC Release/nothing.a npm ERR! CXX(target) Release/obj.target/register-protocol-handler/src/addon.o npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@12.18.4 | darwin | x64 npm ERR! gyp info find Python using Python version 3.9.0 found at "/Library/Frameworks/Python.framework/Versions/3.9/bin/python3" npm ERR! gyp info spawn /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/register-scheme/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/ShreyasSrinivasAyyengar/Library/Caches/node-gyp/12.18.4/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/ShreyasSrinivasAyyengar/Library/Caches/node-gyp/12.18.4', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/ShreyasSrinivasAyyengar/Library/Caches/node-gyp/12.18.4/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/register-scheme', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols) npm ERR! clang: error: no such file or directory: 'Discord' npm ERR! clang: error: no such file or directory: 'RPC' npm ERR! clang: error: no such file or directory: 'lol/node_modules/node-addon-api' npm ERR! make: *** [Release/obj.target/register-protocol-handler/src/addon.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:315:20) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) npm ERR! gyp ERR! System Darwin 20.3.0 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/register-scheme npm ERR! gyp ERR! node -v v12.18.4 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /Users/ShreyasSrinivasAyyengar/.npm/_logs/2021-04-04T11_48_35_140Z-debug.log ShreyasSrinivasAyyengar@Shreyas-MacBook-Pro Custom Discord RPC lol % npm ls discord-rpc discord-rpc@1.0.0 /Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol └── discord-rpc@3.1.4 invalid npm ERR! code ELSPROBLEMS npm ERR! invalid: discord-rpc@3.1.4 /Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/discord-rpc npm ERR! A complete log of this run can be found in: npm ERR! /Users/ShreyasSrinivasAyyengar/.npm/_logs/2021-04-04T11_49_23_313Z-debug.log ShreyasSrinivasAyyengar@Shreyas-MacBook-Pro Custom Discord RPC lol % sudo npm uninstall discord-rpc@3.1.4 up to date, audited 1 package in 155ms found 0 vulnerabilities ShreyasSrinivasAyyengar@Shreyas-MacBook-Pro Custom Discord RPC lol % node ver internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module '/Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/ver' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Module._load (internal/modules/cjs/loader.js:841:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } ShreyasSrinivasAyyengar@Shreyas-MacBook-Pro Custom Discord RPC lol % ShreyasSrinivasAyyengar@Shreyas-MacBook-Pro Custom Discord RPC lol % node -v v12.18.4 ShreyasSrinivasAyyengar@Shreyas-MacBook-Pro Custom Discord RPC lol % sudo npm uninstall discord-rpc@3.1.4 up to date, audited 1 package in 159ms found 0 vulnerabilities ShreyasSrinivasAyyengar@Shreyas-MacBook-Pro Custom Discord RPC lol % npm update discord-rpc npm ERR! code 128 npm ERR! command failed npm ERR! command git ls-remote ssh://git@github.com/djs/discord-rpc.git npm ERR! Warning: Permanently added the RSA host key for IP address '13.250.177.223' to the list of known hosts. npm ERR! git@github.com: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! A complete log of this run can be found in: npm ERR! /Users/ShreyasSrinivasAyyengar/.npm/_logs/2021-04-04T11_51_30_211Z-debug.log ShreyasSrinivasAyyengar@Shreyas-MacBook-Pro Custom Discord RPC lol % npm i discord-rpc@latest npm ERR! code 1 npm ERR! path /Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/register-scheme npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o npm ERR! LIBTOOL-STATIC Release/nothing.a npm ERR! CXX(target) Release/obj.target/register-protocol-handler/src/addon.o npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@12.18.4 | darwin | x64 npm ERR! gyp info find Python using Python version 3.9.0 found at "/Library/Frameworks/Python.framework/Versions/3.9/bin/python3" npm ERR! gyp info spawn /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/register-scheme/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/ShreyasSrinivasAyyengar/Library/Caches/node-gyp/12.18.4/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/ShreyasSrinivasAyyengar/Library/Caches/node-gyp/12.18.4', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/ShreyasSrinivasAyyengar/Library/Caches/node-gyp/12.18.4/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/register-scheme', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols) npm ERR! clang: error: no such file or directory: 'Discord' npm ERR! clang: error: no such file or directory: 'RPC' npm ERR! clang: error: no such file or directory: 'lol/node_modules/node-addon-api' npm ERR! make: *** [Release/obj.target/register-protocol-handler/src/addon.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:315:20) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) npm ERR! gyp ERR! System Darwin 20.3.0 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /Users/ShreyasSrinivasAyyengar/Custom Discord RPC lol/node_modules/register-scheme npm ERR! gyp ERR! node -v v12.18.4 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /Users/ShreyasSrinivasAyyengar/.npm/_logs/2021-04-04T11_51_54_311Z-debug.log