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 folder is not gitignored

See original GitHub issue

I just forked the project on my local machine and didn’t see the .yarn file getting ignored.

According to the official documentation of the yarn package manager few changes are needed to be done in the gitignore

.yarn/* !.yarn/patches !.yarn/releases !.yarn/plugins !.yarn/sdks !.yarn/versions .pnp.*

Was that intentional? If not then I would like to take a look at the problem.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
iswarmondalcommented, Jun 16, 2022

Thanks, @julieg18 and @yathomasi, I am having some issues with contributing to dvc.org docs files.

Here’s the GraphQL error I’m facing, I’m not proficient in GraphQL so I couldn’t understand what’s this.

Field "sourcePath" of type "File" must have a selection of subfields. Did you mean "sourcePath { ... }"?

image

and here’s another ReactJS error I’m facing.

Gatsby.js development 404 page There's not a page or function yet at /doc/user-guide/managing-external-data

I’ve looked through the docs and didn’t found anything there.

0reactions
yathomasicommented, Jun 16, 2022

Here’s the GraphQL error I’m facing, I’m not proficient in GraphQL so I couldn’t understand what’s this.

Field "sourcePath" of type "File" must have a selection of subfields. Did you mean "sourcePath { ... }"?

Does this happens on running the cloned/forked version or did you upgrade packages or made any changes? I couldn’t reproduce this on my end.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Yarn v2 gitignore - Stack Overflow
yarn folder with: folders: cache, releases, unplugged; files: build-state.yml. Should I add whole .yarn folder to .gitignore?
Read more >
[Question] What files should be listed in .gitignore ? #454
E.g., something like .yarn/cache is ignored, everything else is not, and put anything that should be 'cached' into this dir.
Read more >
Questions & Answers | Yarn - Package Manager
Which files should be gitignored? Does Yarn support ESM? Should lockfiles be committed to the repository? How to share scripts between workspaces?
Read more >
Git not ignoring .gitignore - Laracasts
I have problem .gitignore is not ignoring vendor folder, whenever I try to push the commit to ... Homestead.json Homestead.yaml npm-debug.log yarn-error.log.
Read more >
Migrating to Yarn 2 - Heroku Dev Center
yarn directory to take full advantage of “zero downloads”. Heroku users using Yarn are not required to migrate to Yarn 2, and users...
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