8000 Yarn PnP doesn't work · Issue #55 · un-ts/toml-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Yarn PnP doesn't work #55

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

Closed
xenoterracide opened this issue Aug 24, 2022 · 0 comments · Fixed by #61
Closed

Yarn PnP doesn't work #55

xenoterracide opened this issue Aug 24, 2022 · 0 comments · Fixed by #61

Comments

@xenoterracide
Copy link

in order for yarn berry pnp to work correctly dependencies must be fully declared

[error] prettier-plugin-toml tried to access @toml-tools/lexer, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
[error] 
[error] Required package: @toml-tools/lexer
[error] Required by: prettier-plugin-toml@npm:0.3.1 (via /Users/nqy642/IdeaProjects/iw-pm-backend/.yarn/cache/prettier-plugin-toml-npm-0.3.1-a4a923f5b6-9c34cc4a35.zip/node_modules/prettier-plugin-toml/lib/)
[error] 
[error] Require stack:
[error] - /Users/nqy642/IdeaProjects/iw-pm-backend/.yarn/cache/prettier-plugin-toml-npm-0.3.1-a4a923f5b6-9c34cc4a35.zip/node_modules/prettier-plugin-toml/lib/printer.js
[error] - /Users/nqy642/IdeaProjects/iw-pm-backend/.yarn/cache/prettier-plugin-toml-npm-0.3.1-a4a923f5b6-9c34cc4a35.zip/node_modules/prettier-plugin-toml/lib/api.js
[error] - /Users/nqy642/IdeaProjects/iw-pm-backend/.yarn/cache/prettier-npm-2.7.1-d1f40f5e1a-55a4409182.zip/node_modules/prettier/index.js
[error] - /Users/nqy642/IdeaProjects/iw-pm-backend/.yarn/cache/prettier-npm-2.7.1-d1f40f5e1a-55a4409182.zip/node_modules/prettier/cli.js
[error] - /Users/nqy642/IdeaProjects/iw-pm-backend/.yarn/cache/prettier-npm-2.7.1-d1f40f5e1a-55a4409182.zip/node_modules/prettier/bin-prettier.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0