-
-
Notifications
You must be signed in to change notification settings - Fork 724
Docs update: Adds Yarn ‘Plug’n’Play” conflicts fix to troubleshooting page #2028
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
Conversation
|
WalkthroughA new troubleshooting section was added to the documentation, specifically addressing conflicts caused by Yarn Plug'n'Play when running Changes
Suggested reviewers
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (3)
docs/troubleshooting.mdx (3)
37-38
: Wrap section title in backticks for consistencyTo align with other headings that use code formatting for technical terms, consider wrapping
Yarn Plug'n'Play
in backticks.- ### Yarn Plug'n'Play conflicts + ### `Yarn Plug'n'Play` conflicts
39-44
: Clarify and format error snippetReplace "errors like this" with "the following error" for clarity and specify the code block language as plain text. This will make the documentation more concise and consistent.
- If you see errors like this when running `trigger.dev dev`: + If you encounter the following error when running `trigger.dev dev`: - ``` + ```text Could not resolve "@trigger.dev/core/v3" The Yarn Plug'n'Play manifest forbids importing "@trigger.dev/core" here because it's not listed as a dependency of this package - ``` + ```🧰 Tools
🪛 LanguageTool
[duplication] ~39-~39: Possible typo: you repeated a word.
Context: ...f you see errors like this when runningtrigger.dev dev
: ``` Could not resolve "@trigger.dev/...(ENGLISH_WORD_REPEAT_RULE)
46-47
: Improve conditional phrasing and sentence flowRemove the leading conjunction, add "If" to introduce the condition, and tighten the sentence structure. Also show the path expansion for clarity.
- And you're using Yarn v1.22 or another package manager, check if you have a `.pnp.cjs` file in your home directory. This can happen if you previously had Yarn Plug'n'Play enabled globally. Remove the `.pnp.cjs` file to resolve the issue. + If you're using Yarn v1.22 or another package manager, check for a `.pnp.cjs` file in your home directory (e.g., `~/.pnp.cjs`). This file can remain from a previous global Plug'n'Play setup; removing it will resolve the conflict.🧰 Tools
🪛 LanguageTool
[uncategorized] ~46-~46: Possible missing preposition found.
Context: ...s a dependency of this package ``` And you're using Yarn v1.22 or another package ...(AI_EN_LECTOR_MISSING_PREPOSITION)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/troubleshooting.mdx
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/troubleshooting.mdx
[duplication] ~39-~39: Possible typo: you repeated a word.
Context: ...f you see errors like this when running trigger.dev dev
: ``` Could not resolve "@trigger.dev/...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~46-~46: Possible missing preposition found.
Context: ...s a dependency of this package ``` And you're using Yarn v1.22 or another package ...
(AI_EN_LECTOR_MISSING_PREPOSITION)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Analyze (javascript-typescript)
Small docs page update to Troubleshooting guide. Includes a fix if you use Yarn "Plug'n'Play"
Summary by CodeRabbit
.pnp.cjs
files.