“enzyme-adapter-réact-16” Réponses codées

Installation de NPM enzyme

npm i --save-dev enzyme enzyme-adapter-react-16
Frightened Fox

enzyme-adapter-réact-16

step by step how to fix enzyme-adapter-react-16  not support for React version 17


step one : npm i npm-install-peers -g
step two copy this : 
"peerDependencies": {
    "react": "^16.13.1",
    "react-dom": "^16.13.1"
}
step three: typing in your terminal npm-install-peers
Restu Wahyu Saputra

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code