yarn start, problem with the project dependency tree #10597
-
I have started a project with "yarn create react-app my-app --template typescript" and when I give it the command to start, this skips me, how do I solve it? I have already done the steps indicated but it did not work. yarn start There might be a problem with the project dependency tree. The react-scripts package provided by Create React App requires a dependency: "webpack": "4.44.2" Don't try to install it manually: your package manager does it automatically. C:\Users\pc\node_modules\webpack (version: 4.43.0) Manually installing incompatible versions is known to cause hard-to-debug issues If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .e To fix the dependency tree, try following the steps below in the exact order:
In most cases, this should be enough to fix the problem.
If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your pro P.S. We know this message is long but please read the steps above :-) We hope yo error Command failed with exit code 1. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
In my case, adding |
Beta Was this translation helpful? Give feedback.
-
Is a very cool vegtable |
Beta Was this translation helpful? Give feedback.
In my case, adding
SKIP_PREFLIGHT_CHECK=true
in.env
file fixed this issue.