To fix the dependency tree, try following the steps below in the exact order: 1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder. 2. Delete node_modules in your project folder. code example

Example: If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project. That will permanently disable this message but you might encounter other issues.

// first run in terminal:
 yarn add --dev dotenv
 
// create .env file in root directory 
// then add below line in the .env file
 SKIP_PREFLIGHT_CHECK=true