code-server icon indicating copy to clipboard operation
code-server copied to clipboard

use npm instead of yarn

Open minge0n opened this issue 5 years ago • 1 comments

since yarn swallows all logs on yarn global add, how about using npm and tell how to debug on problem?

npm uninstall -g --unsafe-perm code-server > /dev/null 2>&1 //uninstall
npm install --loglevel verbose -g --unsafe-perm code-server //install wtih logging

minge0n avatar Aug 04 '21 00:08 minge0n

I think we've had issues with npm not working in the past (hence why we encourage yarn), but maybe it's better now. And this should definitely go in our debugging/troubleshooting section. Thank you for the suggestion!

jsjoeio avatar Aug 04 '21 16:08 jsjoeio