Yarn missing as a dependency or devDependency
See original GitHub issueDescribe 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:
- Created 2 years ago
- Comments:12 (12 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
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?