When I ran the command to update node.js global packages using npm update -g
, I got the following error;
npm ERR! code ENOLOCAL
npm ERR! Could not install from "..\..\..\Dropbox\Inv\Programming\node.js\ibkr-api" as it does not contain a package.json file.
However, I found out that the folder "..\..\..\Dropbox\Inv\Programming\node.js\ibkr-api"
no longer exists.
Which file does npm look into when global packages are being upgraded? Where is it located? I believe I can fix this error if I know where this file is located and modifying it.
I am using Windows 10, node.js v11.14.