0

npm update -g graphcool

I'm upgrading from v 0.5 to the latest graphcool client and I'm getting the following error

npm ERR! path /usr/local/bin/gc
npm ERR! code EEXIST
npm ERR! Refusing to delete /usr/local/bin/gc: is outside /usr/local/lib/node_modules/graphcool and not a link
npm ERR! File exists: /usr/local/bin/gc
npm ERR! Move it away, and try again.

What is /usr/local/bin/gc and should I delete it like it's asking for?

MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
  • _What is_ - have you tried looking at the man page? [`man gc`](https://linux.die.net/man/1/gc) – Matt Clark Nov 25 '17 at 23:36
  • "gc is a graph analogue to wc in that it prints to standard output the number of nodes, edges, connected components or clusters contained in the input files. It also prints a total count for all graphs if more than one graph is given." – MonkeyBonkey Nov 26 '17 at 00:14
  • that's the description - but I don't know if it should be deleted or not - or whether it was installed by graphcool or it's shared... Or why graphcool is trying to delete it – MonkeyBonkey Nov 26 '17 at 00:16

0 Answers0