Skip to content

Commit 6f4af89

Browse files
authored
Docs: Adds Yarn ‘Plug’n’Play” conflicts fix to troubleshooting page (#2028)
1 parent 3e45f78 commit 6f4af89

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/troubleshooting.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ sudo chown -R $(whoami) ~/.npm
3434

3535
Ensure you have stopped your local dev server then locate the hidden `.trigger` folder in your project and delete it. You can then restart your local dev server.
3636

37+
### Yarn Plug'n'Play conflicts
38+
39+
If you see errors like this when running `trigger.dev dev`:
40+
41+
```
42+
Could not resolve "@trigger.dev/core/v3"
43+
The Yarn Plug'n'Play manifest forbids importing "@trigger.dev/core" here because it's not listed as a dependency of this package
44+
```
45+
46+
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.
47+
3748
## Deployment
3849

3950
Running the [trigger.dev deploy] command builds and deploys your code. Sometimes there can be issues building your code.

0 commit comments

Comments
 (0)