Closed
Description
Hello 👋
create-react-app no longer supports usage of NODE_PATH
in .env
since v4:
Removed
typescript
flag andNODE_PATH
supportWe've removed the deprecated
typescript
flag when creating a new app. Use--template typescript
instead. We've also dropped deprecatedNODE_PATH
flag as this has been replaced by setting the base path injsconfig.json
.
So I think we should update this part of the docs to reflect that:
testing-library-docs/docs/react-testing-library/setup.mdx
Lines 211 to 234 in 99ef60b
My project doesn't run on CRA v4 yet so I can't tell how exactly what the alternative should be, but I will look into it.
Metadata
Metadata
Assignees
Labels
No labels