question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Yarn missing as a dependency or devDependency

See original GitHub issue

Describe the bug:

Yarn is referenced in CONTRIBUTING.md prior to it being listed as a prerequisite in the documentation or in package.json. In a fresh install for example during a continuous integration build or when setting up a develop environment for the first time running the recommended command does not work.

yarn db:reset
# returns
-bash: yarn: command not found

Issue #447 references this same issue as a line item.

Tell us about your browser and operating system:

  • Browser(s) name and version: terminal
  • Operating System:
uname -ior
5.3.7-301.fc31.x86_64 x86_64 GNU/Linux

node --version
v14.16.0
npm --version
6.14.11

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
allellacommented, Mar 25, 2021

@ojeytonwilliams that sound good to me. Normalizing on npm, at least for now, could help close out some issues and cause less confusion.

There are a number of references to yarn in the CONTRIBUTING.md, so we’ll want to update that as well.

0reactions
ojeytonwilliamscommented, Mar 25, 2021

Given that this is generating a few issues, I played around with removing yarn locally and I couldn’t see any side-effects.

@allella would it be okay if I created a PR and pinged Fran for a review?

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm - "Already up-to-date" and "Run 'yarn' to install missing ...
Running the 'yarn' results in the following appearing in the output text ... warning foobar@0.0.0: "dependencies" has dependency "ember-cli" ...
Read more >
Installing for production fails if dev dependency is missing.
Now lets say I'm installing dependencies for production with: yarn install --production . Yarn will not include asset_module in node_modules ...
Read more >
Installing dependencies | Yarn
yarn install is used to install all dependencies for a project. The dependencies are retrieved from your project's package.json file, and stored in...
Read more >
What are dependencies and devDependencies in Yarn?
The Yarn package manager allows the installation of packages offline if the package is available in the cache. It offers an improved network...
Read more >
Is this a dependency or devDependency? - With Blue Ink
devDependencies : Packages that are only needed for local development and testing. In short, you should save a module as a devDependency when ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found