Skip to content
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

Instructions for TypeScript Resistor Duo exercise say to use npm, not yarn #1826

Open
seanmortimer opened this issue Nov 11, 2020 · 2 comments
Labels
track/javascript JavaScript track

Comments

@seanmortimer
Copy link

In the Resistor Duo exercise on the TypeScript track the install instructions say 'npm install' and 'npm test'. I believe it should say yarn.

@corneliusroemer
Copy link
Contributor

Thanks! Do all of the other typescript exercises say yarn?

Does it work with npm at all?

@angelikatyborska
Copy link
Member

npm and yarn are two JavaScript package managers that can be used in a very similar manner. Both use the file package.json as a dependency manifest, but have different lock files. You would use npm if there is a package-lock.json file in the project, and yarn if there is a yarn.lock file in the project. I think JavaScript exercises have neither of those files, which means you can just choose which package manager you prefer.

In this document, both are mentioned: https://github.com/exercism/javascript/blob/eeaae544d76c871059debcc9abad969e286bce88/exercises/shared/.docs/cli.md

However, the installation instructions don't say how to install yarn and don't explain what it is, and https://github.com/exercism/javascript/blob/eeaae544d76c871059debcc9abad969e286bce88/docs/TESTS.md also doesn't mention yarn. @SleeplessByte I think this is something you might want to clarify yourself.

@angelikatyborska angelikatyborska added the track/javascript JavaScript track label Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
track/javascript JavaScript track
Projects
None yet
Development

No branches or pull requests

3 participants