You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I worked around this by deleting the "@testing-library/react-hooks": "^8.0.1", line from the main package.json. I suppose tests won't compile but it's fine for my use case
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
When trying to link
@docusaurus/preset-classic
into a sample repo, I get this issue:If we look at the library in question: React-hooks-testing-library
We see this line:
"@types/react": "^16.9.0 || ^17.0.0",
Which conflicts with the root package.json:
"@types/react": "^18.0.28",
Reproducible demo
No response
Steps to reproduce
npm link
in docusaurus/package/docusaurus-preset-classic`Expected behavior
We should be able to npm link into the repo without issues.
Actual behavior
Error in description
Your environment
Self-service
The text was updated successfully, but these errors were encountered: