create-react-app starting error - Error: No valid exports main found for '\node_modules\colorette'

Fixed this problem by upgrading node.js to v14.5, i've had v13.5 and v13.6 in my laptop. and also removing create-react-app globally:

npm uninstall -g create-react-app

and using:

npx create-react-app myapp

Node version 13 has an issue for ReactJs, please check your version. You can update or degrade(LTS version) your node version to work ReactJs properly


you need to upgrade node version to 14.5 or latest version with:

sudo n latest // on mac or linux for latest version

for windows just reinstall you node with latest version