Skip to content

use npm instead of yarn #3896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
issac4892 opened this issue Aug 4, 2021 · 1 comment · Fixed by #4032
Closed

use npm instead of yarn #3896

issac4892 opened this issue Aug 4, 2021 · 1 comment · Fixed by #4032
Assignees
Labels
docs Documentation related
Milestone

Comments

@issac4892
Copy link

issac4892 commented Aug 4, 2021

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
@issac4892 issac4892 added the docs Documentation related label Aug 4, 2021
@jsjoeio jsjoeio added this to the 3.12.0 milestone Aug 4, 2021
@jsjoeio
Copy link
Contributor

jsjoeio commented Aug 4, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants